Inspectopedia
 
2024.3

'assertTrue()' with incompatible argument type

Warning
New
Last modified: 03 December 2024

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.