Skip to content

0.9.3

Compare
Choose a tag to compare
@ondrejmirtes ondrejmirtes released this 27 Dec 13:49
· 235 commits to 2.0.x since this release

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.