UnusedFunctionCall
March 20, 2020 ยท View on GitHub
Emitted when --find-dead-code is turned on and Psalm finds a function call whose return value is not used anywhere
<?php
$a = strlen("hello");
strlen("goodbye"); // unused
echo $a;
March 20, 2020 ยท View on GitHub
Emitted when --find-dead-code is turned on and Psalm finds a function call whose return value is not used anywhere
<?php
$a = strlen("hello");
strlen("goodbye"); // unused
echo $a;