Releases: phpstan/phpstan-phpunit
Releases · phpstan/phpstan-phpunit
0.9.3
Added strict rules for more precise TestCase assert calls (enabled separately by including strictRules.neon) - #5, thanks @mhujer!
- Check that you are not using
assertSame()withtrueas expected value.assertTrue()should be used instead. - Check that you are not using
assertSame()withfalseas expected value.assertFalse()should be used instead. - Check that you are not using
assertSame()withnullas expected value.assertNull()should be used instead. - Check that you are not using
assertSame()withcount($variable)as second parameter.assertCount($variable)should be used instead.
0.9.2
0.9.1
Supports new names for MockBuilder and MockObject introduced in PHPUnit 6.5.
0.9
Initial release.