PHPUnit extensions and rules for PHPStan
MIT License
Bot releases are hidden (Show)
Published by ondrejmirtes almost 4 years ago
Published by ondrejmirtes over 5 years ago
Published by ondrejmirtes over 5 years ago
Published by ondrejmirtes over 6 years ago
strictRules.neon
(everything is in rules.neon
now)assert*
methodsPublished by ondrejmirtes over 6 years ago
Support PHPUnit 7.0
Published by ondrejmirtes almost 7 years ago
Added strict rules for more precise TestCase assert
calls (enabled separately by including strictRules.neon
) - #5, thanks @mhujer!
assertSame()
with true
as expected value. assertTrue()
should be used instead.assertSame()
with false
as expected value. assertFalse()
should be used instead.assertSame()
with null
as expected value. assertNull()
should be used instead.assertSame()
with count($variable)
as second parameter. assertCount($variable)
should be used instead.Published by ondrejmirtes almost 7 years ago
Add missing methods that generate mocks - #2, thanks @lcobucci!
Published by ondrejmirtes almost 7 years ago
Supports new names for MockBuilder
and MockObject
introduced in PHPUnit 6.5.
Published by ondrejmirtes almost 7 years ago
Initial release.