Releases: phpstan/phpstan-phpunit
Releases · phpstan/phpstan-phpunit
0.11.1
0.10
0.9.4
Support PHPUnit 7.0
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()
withtrue
as expected value.assertTrue()
should be used instead. - Check that you are not using
assertSame()
withfalse
as expected value.assertFalse()
should be used instead. - Check that you are not using
assertSame()
withnull
as 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.