mirror of
https://github.com/danog/psalm.git
synced 2024-12-15 10:57:08 +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();
|
|
```
|