Skip to content

Commit

Permalink
register rule to code quality set
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Sep 29, 2024
1 parent 62500b9 commit 4c3932b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/sets/phpunit-code-quality.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
use Rector\PHPUnit\CodeQuality\Rector\MethodCall\AssertSameBoolNullToSpecificMethodRector;
use Rector\PHPUnit\CodeQuality\Rector\MethodCall\AssertSameTrueFalseToAssertTrueFalseRector;
use Rector\PHPUnit\CodeQuality\Rector\MethodCall\AssertTrueFalseToSpecificMethodRector;
use Rector\PHPUnit\CodeQuality\Rector\MethodCall\NarrowIdenticalWithConsecutiveRector;
use Rector\PHPUnit\CodeQuality\Rector\MethodCall\RemoveExpectAnyFromMockRector;
use Rector\PHPUnit\CodeQuality\Rector\MethodCall\UseSpecificWillMethodRector;
use Rector\PHPUnit\CodeQuality\Rector\MethodCall\UseSpecificWithMethodRector;
Expand All @@ -43,6 +44,9 @@
AssertEqualsOrAssertSameFloatParameterToSpecificMethodsTypeRector::class,
DataProviderArrayItemsNewLinedRector::class,

// narrow with consecutive
NarrowIdenticalWithConsecutiveRector::class,

// specific asserts
AssertCompareOnCountableWithMethodToAssertCountRector::class,
AssertCompareToSpecificMethodRector::class,
Expand Down

0 comments on commit 4c3932b

Please sign in to comment.