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.