Skip to content

Commit 2b0a5cb

Browse files
committed
fixup! [deprecated] Deprecate AssertCountWithZeroToAssertEmptyRector to improve test readability with more explicit methods
1 parent 28065e5 commit 2b0a5cb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

rules/CodeQuality/Rector/MethodCall/AssertCountWithZeroToAssertEmptyRector.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use PhpParser\Node\Expr\MethodCall;
99
use PhpParser\Node\Expr\StaticCall;
1010
use Rector\Configuration\Deprecation\Contract\DeprecatedInterface;
11-
use Rector\PHPUnit\NodeAnalyzer\TestsNodeAnalyzer;
1211
use Rector\Rector\AbstractRector;
1312
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
1413
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
@@ -18,11 +17,6 @@
1817
*/
1918
final class AssertCountWithZeroToAssertEmptyRector extends AbstractRector implements DeprecatedInterface
2019
{
21-
public function __construct(
22-
private readonly TestsNodeAnalyzer $testsNodeAnalyzer
23-
) {
24-
}
25-
2620
public function getRuleDefinition(): RuleDefinition
2721
{
2822
return new RuleDefinition(

0 commit comments

Comments
 (0)