1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
psalm/docs/running_psalm/issues/UndefinedTrace.md

15 lines
175 B
Markdown
Raw Normal View History

# UndefinedTrace
Attempt to trace an undefined variable
```php
<?php
/** @psalm-trace $x */
echo 'Hello World!';
```
## How to fix
Provide existing variable or remove it