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