Skip to content

Releases: phpstan/phpstan-phpunit

0.9.3

27 Dec 13:49

Choose a tag to compare

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() with true as expected value. assertTrue() should be used instead.
  • Check that you are not using assertSame() with false as expected value. assertFalse() should be used instead.
  • Check that you are not using assertSame() with null as expected value. assertNull() should be used instead.
  • Check that you are not using assertSame() with count($variable) as second parameter. assertCount($variable) should be used instead.

0.9.2

11 Dec 09:48

Choose a tag to compare

Add missing methods that generate mocks - #2, thanks @lcobucci!

0.9.1

02 Dec 20:22

Choose a tag to compare

Supports new names for MockBuilder and MockObject introduced in PHPUnit 6.5.

0.9

29 Nov 13:24

Choose a tag to compare

0.9

Initial release.