Skip to content

Commit

Permalink
rector
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Dec 16, 2024
1 parent 23ead54 commit a4b716b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use Rector\Config\RectorConfig;
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPrivateMethodRector;
use Rector\DeadCode\Rector\If_\RemoveAlwaysTrueIfConditionRector;
use Rector\PHPUnit\CodeQuality\Rector\MethodCall\AssertEqualsToSameRector;
use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector;

return RectorConfig::configure()
Expand All @@ -23,7 +24,10 @@
RemoveUnusedPrivateMethodRector::class => [
__DIR__ . '/tests/N98/Magento/Command/System/Setup/IncrementalCommandTest.php',
],
PrivatizeFinalClassMethodRector::class => [
AssertEqualsToSameRector::class => [
__DIR__ . 'tests/N98/Util/Console/Helper/DatabaseHelperTest.php',
],
PrivatizeFinalClassMethodRector::class => [
__DIR__ . '/tests/N98/Magento/Command/System/Setup/IncrementalCommandTest.php',
],
])
Expand Down

0 comments on commit a4b716b

Please sign in to comment.