Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upIdeas for additional strict rules #7
Comments
|
I think that BTW: It might be interesting to suggest assertCount and other already implemented rules also for |
|
Suggestions for specific rules instead of
|
|
I have more suggestions, and if I could help implement them
|
|
Go for it
On Sat, 30 Dec 2017 at 22:03, Gabriel Caruso ***@***.***> wrote:
I have more suggestions, and if I could help implement them
--
Ondřej Mirtes
|
Here is a list of a ideas that may be implemented in the future:
assertInstanceOf(Foo::class, $a)instead ofassertTrue($a instanceof Foo)assertNotInstanceOf(Foo::class, $a)instead ofassertFalse($a instanceof Foo)assertArrayHasKey()instead ofassertTrue(array_key_exists(..))assertFileExists()instead ofassertTrue(file_exists($filePath))