phpstan-phpunit icon indicating copy to clipboard operation
phpstan-phpunit copied to clipboard

AssertEqualsWithCountRule?

Open gemal opened this issue 2 months ago • 1 comments

We have the AssertSameWithCountRule rule: https://github.com/phpstan/phpstan-phpunit/blob/2.0.x/src/Rules/PHPUnit/AssertSameWithCountRule.php

is there a reason for not having AssertEqualsWithCountRule

so that $this->assertEquals(45, count($actual)); would become $this->assertCount(45, $actual);

I can make a pull request I just wanted to make sure if there were a reason

gemal avatar Sep 15 '25 13:09 gemal