mirror of
https://github.com/danog/psalm.git
synced 2024-12-05 13:10:49 +01:00
ea52b9d23a
While I was searching for some code, ran across these.
15 lines
171 B
Markdown
15 lines
171 B
Markdown
# MissingDependency
|
|
|
|
Emitted when referencing a class that does not exist
|
|
|
|
```php
|
|
<?php
|
|
|
|
/**
|
|
* @psalm-suppress UndefinedClass
|
|
*/
|
|
class A extends B {}
|
|
|
|
$a = new A();
|
|
```
|