Assertion can be replaced with 'fail'
Reports the assertTrue()
/assertFalse()
calls with the false
/true
arguments in PHPUnit tests. Such usages can be replaced with fail()
calls to indicate that a test is expected to fail.
Inspection Details | |
---|---|
Available in: | PhpStorm 2023.3, Qodana for PHP 2023.3 |
Plugin: | PHP, 233.SNAPSHOT |
Last modified: 13 July 2023