mirror of
https://github.com/danog/psalm.git
synced 2024-12-02 17:52:45 +01:00
15 lines
175 B
Markdown
15 lines
175 B
Markdown
|
# UndefinedTrace
|
||
|
|
||
|
Attempt to trace an undefined variable
|
||
|
|
||
|
```php
|
||
|
<?php
|
||
|
|
||
|
/** @psalm-trace $x */
|
||
|
echo 'Hello World!';
|
||
|
```
|
||
|
|
||
|
## How to fix
|
||
|
|
||
|
Provide existing variable or remove it
|