Skip to content

Releases: phpstan/phpstan-phpunit

0.12.18

06 Mar 11:52
Compare
Choose a tag to compare
  • 58e52ad - Dependabot
  • ab44aec - Allow toggling union to intersection type conversion

0.12.17

13 Dec 12:13
Compare
Choose a tag to compare
  • 7c54b2d - Use the maintained version of php-parallel-lint
  • e5edd1c - Travis > Test on PHP 7.3 and 7.4
  • 0adbd9f - Updated coding standard that can run on PHP 7.4
  • ef674b8 - Bump minimum versions to prevent deprecations while running in lowest mode
  • 7bd24ab - Use GitHub Actions instead of Travis CI
  • 432575b - Automatic release workflow

0.12.16

12 Dec 14:51
Compare
Choose a tag to compare
0.12.16

0.11.2

19 May 19:13
Compare
Choose a tag to compare
  • Include rules.neon for phpstan/extension-installer (fbf2ad5)

0.11.1

11 May 12:37
Compare
Choose a tag to compare
  • Extension installer support (#45), thanks @lookyman!
  • Fix detection of unspecific assert*() with direct Assert::assert*() calls (#47), thanks @Majkl578!

0.10

24 Jun 18:30
Compare
Choose a tag to compare
  • Removed strictRules.neon (everything is in rules.neon now)
  • Type-specifying extension for various PHPUnit's assert* methods
  • Composer: Replaced some requirements with conflicts - #19, thanks @lookyman!

0.9.4

02 Feb 09:56
Compare
Choose a tag to compare

Support PHPUnit 7.0

0.9.3

27 Dec 13:49
Compare
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
Compare
Choose a tag to compare

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

0.9.1

02 Dec 20:22
Compare
Choose a tag to compare

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