Skip to content

Commit 1d338ac

Browse files
committed
Drop ConsoleExecuteReturnIntRector skip, redundant cast fixed upstream
1 parent 5d0fd8b commit 1d338ac

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎rector.php‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use Rector\DeadCode\Rector\ConstFetch\RemovePhpVersionIdCheckRector;
99
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
1010
use Rector\Php84\Rector\Class_\DeprecatedAnnotationToDeprecatedAttributeRector;
11-
use Rector\Symfony\Symfony44\Rector\ClassMethod\ConsoleExecuteReturnIntRector;
1211
use Rector\Symfony\Symfony61\Rector\Class_\CommandConfigureToAttributeRector;
1312

1413
return RectorConfig::configure()
@@ -44,11 +43,9 @@
4443
->withSkip([
4544
StringClassNameToClassConstantRector::class,
4645

47-
// adds (int) cast to methods that already return int, ping-pongs with RecastingRemovalRector
48-
ConsoleExecuteReturnIntRector::class,
49-
5046
// keep console command metadata in configure(), as more readable than a single long attribute
5147
CommandConfigureToAttributeRector::class,
48+
5249
// tests
5350
'*/Fixture*',
5451
'*/Source*',

0 commit comments

Comments
 (0)