Skip to content

Commit f1990b6

Browse files
authored
Merge pull request #7294 from codeigniter4/dependabot/composer/rector/rector-0.15.18
chore(deps-dev): update rector/rector requirement from 0.15.17 to 0.15.18
2 parents 496dfbe + 85574fa commit f1990b6

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"phpunit/phpcov": "^8.2",
2626
"phpunit/phpunit": "^9.1",
2727
"predis/predis": "^1.1 || ^2.0",
28-
"rector/rector": "0.15.17",
28+
"rector/rector": "0.15.18",
2929
"vimeo/psalm": "^5.0"
3030
},
3131
"suggest": {

rector.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
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_\RemoveAlwaysTrueIfConditionRector;
3233
use Rector\DeadCode\Rector\If_\UnwrapFutureCompatibleIfPhpVersionRector;
3334
use Rector\DeadCode\Rector\MethodCall\RemoveEmptyMethodCallRector;
3435
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
@@ -114,6 +115,10 @@
114115
GetMockBuilderGetMockToCreateMockRector::class => [
115116
__DIR__ . '/tests/system/Email/EmailTest.php',
116117
],
118+
119+
// temporary skip as remove on variable check from @param doc
120+
// @see https://github.com/rectorphp/rector-src/pull/3402
121+
RemoveAlwaysTrueIfConditionRector::class,
117122
]);
118123

119124
// auto import fully qualified class names

0 commit comments

Comments
 (0)