mirror of
https://github.com/danog/psalm.git
synced 2024-12-02 17:52:45 +01:00
12 lines
218 B
Markdown
12 lines
218 B
Markdown
# UnusedFunctionCall
|
|
|
|
Emitted when `--find-dead-code` is turned on and Psalm finds a function call whose return value is not used anywhere
|
|
|
|
```php
|
|
<?php
|
|
|
|
$a = strlen("hello");
|
|
strlen("goodbye"); // unused
|
|
echo $a;
|
|
```
|