johnbillion/falsey-assertequals-detector
Detects incorrect use of assertEquals() with falsey values in PHPUnit tests. This PHP_CodeSniffer ruleset flags comparisons like assertEquals(false, $value) and encourages the stricter assertFalse() and assertTrue() alternatives for clearer, safer tests.
|
Package
|
Constraint
|
|---|---|
| phpunit/phpunit | ^7 | ^8 | ^9 |
None
How can I help you explore Laravel packages today?