Skip to content

Commit 9e1b87a

Browse files
authored
Merge pull request #6420 from samsonasik/rector-cleanup
[Rector] Clean up skip UnwrapFutureCompatibleIfPhpVersionRector
2 parents 3bcc652 + 8ffd54d commit 9e1b87a

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/test-rector.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
- 'utils/**.php'
1515
- '.github/workflows/test-rector.yml'
1616
- composer.json
17+
- rector.php
1718

1819
push:
1920
branches:
@@ -26,6 +27,7 @@ on:
2627
- 'utils/**.php'
2728
- '.github/workflows/test-rector.yml'
2829
- composer.json
30+
- rector.php
2931

3032
jobs:
3133
build:

rector.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
use Rector\CodingStyle\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector;
3030
use Rector\Config\RectorConfig;
3131
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPrivateMethodRector;
32-
use Rector\DeadCode\Rector\If_\UnwrapFutureCompatibleIfPhpVersionRector;
3332
use Rector\DeadCode\Rector\MethodCall\RemoveEmptyMethodCallRector;
3433
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
3534
use Rector\EarlyReturn\Rector\If_\ChangeIfElseValueAssignToEarlyReturnRector;
@@ -93,11 +92,6 @@
9392
__DIR__ . '/tests',
9493
],
9594

96-
// check on constant compare
97-
UnwrapFutureCompatibleIfPhpVersionRector::class => [
98-
__DIR__ . '/system/CodeIgniter.php',
99-
],
100-
10195
// session handlers have the gc() method with underscored parameter `$max_lifetime`
10296
UnderscoreToCamelCaseVariableNameRector::class => [
10397
__DIR__ . '/system/Session/Handlers',

0 commit comments

Comments
 (0)