Skip to content

Commit d818791

Browse files
chore(deps): update dependency rector/rector to v2.6.3 (#163)
* chore(deps): update dependency rector/rector to v2.6.3 | datasource | package | from | to | | ---------- | ------------- | ----- | ----- | | packagist | rector/rector | 2.5.9 | 2.6.3 | * fix: skip Application::add rename rector for Console version compat shim RenameMethodRector fires for Symfony\Component\Console\Application::add() whenever symfony/console >=7.4 is allowed by composer.json, but ValidateTranslationCommandTest::addCommandToApplication() intentionally calls add() as a runtime fallback for Symfony Console < 8. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Konrad Michalik <km@move-elevator.de>
1 parent ea9aa40 commit d818791

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rector.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
*/
1313

1414
use Rector\Config\RectorConfig;
15+
use Rector\Renaming\Rector\MethodCall\RenameMethodRector;
1516
use Rector\Set\ValueObject\LevelSetList;
1617
use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector;
1718
use Rector\ValueObject\PhpVersion;
@@ -29,4 +30,11 @@
2930
->withRules([
3031
AddVoidReturnTypeWhereNoReturnRector::class,
3132
])
33+
->withSkip([
34+
// Application::add() is called intentionally as a runtime fallback for Symfony Console < 8,
35+
// see ValidateTranslationCommandTest::addCommandToApplication().
36+
RenameMethodRector::class => [
37+
__DIR__.'/tests/src/Command/ValidateTranslationCommandTest.php',
38+
],
39+
])
3240
;

0 commit comments

Comments
 (0)