Skip to content

Commit

Permalink
refactor: Ignore PHPUnit 10 rules
Browse files Browse the repository at this point in the history
  • Loading branch information
siketyan committed Dec 3, 2023
1 parent f924f63 commit 5af9b8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion .idea/loxcan.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use Rector\CodeQuality\Rector\For_\ForRepeatedCountToOwnVariableRector;
use Rector\Config\RectorConfig;
use Rector\Php81\Rector\ClassConst\FinalizePublicClassConstantRector;
use Rector\PHPUnit\AnnotationsToAttributes\Rector\Class_\CoversAnnotationWithValueToAttributeRector;
use Rector\PHPUnit\AnnotationsToAttributes\Rector\ClassMethod\DataProviderAnnotationToAttributeRector;
use Rector\PHPUnit\PHPUnit100\Rector\Class_\StaticDataProviderClassMethodRector;

return static function (RectorConfig $rectorConfig): void {
Config::use($rectorConfig);
Expand All @@ -16,7 +19,10 @@
]));

$rectorConfig->skip([
CoversAnnotationWithValueToAttributeRector::class,
DataProviderAnnotationToAttributeRector::class,
FinalizePublicClassConstantRector::class,
ForRepeatedCountToOwnVariableRector::class,
StaticDataProviderClassMethodRector::class,
]);
};

0 comments on commit 5af9b8e

Please sign in to comment.