diff --git a/rules/Transform/Rector/FileWithoutNamespace/RectorConfigBuilderRector.php b/rules/Transform/Rector/FileWithoutNamespace/RectorConfigBuilderRector.php index c0e141b1f332..12b70173b9f0 100644 --- a/rules/Transform/Rector/FileWithoutNamespace/RectorConfigBuilderRector.php +++ b/rules/Transform/Rector/FileWithoutNamespace/RectorConfigBuilderRector.php @@ -149,6 +149,11 @@ public function refactor(Node $node) : ?Node $hasChanged = \true; continue; } + if ($name === 'phpVersion') { + $newExpr = $this->nodeFactory->createMethodCall($newExpr, 'withPhpVersion', [$value]); + $hasChanged = \true; + continue; + } // implementing method by method return null; } diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index b78267323678..749dc20aad4d 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -19,12 +19,12 @@ final class VersionResolver * @api * @var string */ - public const PACKAGE_VERSION = 'dea2e16665cf567c20664c7ef9bac38d0d7d4f49'; + public const PACKAGE_VERSION = 'c9fe3caacced982e1c21d7203e9ea0f1bb2092c8'; /** * @api * @var string */ - public const RELEASE_DATE = '2024-03-02 13:06:24'; + public const RELEASE_DATE = '2024-03-03 08:00:50'; /** * @var int */