Skip to content

Commit

Permalink
fix rector (#1248)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsn authored Feb 11, 2025
1 parent ddddc36 commit 58d6d6f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
use Rector\Php81\Rector\ClassMethod\NewInInitializerRector;
use Rector\PHPUnit\AnnotationsToAttributes\Rector\Class_\AnnotationWithValueToAttributeRector;
use Rector\PHPUnit\CodeQuality\Rector\Class_\YieldDataProviderRector;
use Rector\PHPUnit\CodeQuality\Rector\MethodCall\AssertCountWithZeroToAssertEmptyRector;
use Rector\PHPUnit\CodeQuality\Rector\MethodCall\AssertEmptyNullableObjectToAssertInstanceofRector;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector;
use Rector\Set\ValueObject\LevelSetList;
Expand Down Expand Up @@ -139,6 +141,10 @@
__DIR__ . '/src/Authentication/JWT/JWSDecoder.php',
__DIR__ . '/src/Authentication/JWTManager.php',
],

// Ignore some PHPUnit rules
AssertCountWithZeroToAssertEmptyRector::class,
AssertEmptyNullableObjectToAssertInstanceofRector::class,
]);

// auto import fully qualified class names
Expand Down

0 comments on commit 58d6d6f

Please sign in to comment.