'assertTrue()' with incompatible argument type
Reports the PHPUnit assertTrue()
calls whose arguments are of incompatible types. Since the assertTrue()
method relies on strict types comparison with true
, such assertions will always fail.
Inspection Details | |
---|---|
Available in: | PhpStorm 2023.3, Qodana for PHP 2023.3 |
Plugin: | PHP, 233.SNAPSHOT |
Last modified: 13 July 2023