Skip to content

Commit e86009a

Browse files
committed
Specify version
1 parent 1b75021 commit e86009a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/.github/workflows/rector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ jobs:
6464
6565
- name: Analyze for refactoring
6666
run: |
67-
composer global require --dev rector/rector
67+
composer global require --dev rector/rector:^0.12.4
6868
rector process --dry-run --no-progress-bar

src/rector.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@
1919
use Rector\CodingStyle\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector;
2020
use Rector\Core\Configuration\Option;
2121
use Rector\Core\ValueObject\PhpVersion;
22-
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPrivateMethodRector;
2322
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPromotedPropertyRector;
24-
use Rector\DeadCode\Rector\If_\UnwrapFutureCompatibleIfPhpVersionRector;
2523
use Rector\DeadCode\Rector\MethodCall\RemoveEmptyMethodCallRector;
2624
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
2725
use Rector\EarlyReturn\Rector\If_\ChangeIfElseValueAssignToEarlyReturnRector;
@@ -34,7 +32,6 @@
3432
use Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector;
3533
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
3634
use Rector\PHPUnit\Rector\MethodCall\AssertFalseStrposToContainsRector;
37-
use Rector\PHPUnit\Rector\MethodCall\AssertIssetToSpecificMethodRector;
3835
use Rector\PHPUnit\Set\PHPUnitSetList;
3936
use Rector\Set\ValueObject\LevelSetList;
4037
use Rector\Set\ValueObject\SetList;

0 commit comments

Comments
 (0)