diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 1b5c73e58db..76d432e5e6c 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 = '5979c0932fd77f40f601ea37687c466833e83ed7'; + public const PACKAGE_VERSION = '6edf23f6b6cdc2982618ac311c6b7936d3fdcf16'; /** * @api * @var string */ - public const RELEASE_DATE = '2024-01-30 14:08:30'; + public const RELEASE_DATE = '2024-01-30 17:14:19'; /** * @var int */ diff --git a/src/Configuration/RectorConfigBuilder.php b/src/Configuration/RectorConfigBuilder.php index 942d7550040..c0f8afe4392 100644 --- a/src/Configuration/RectorConfigBuilder.php +++ b/src/Configuration/RectorConfigBuilder.php @@ -125,6 +125,14 @@ final class RectorConfigBuilder * @var null|PhpVersion::* */ private $phpVersion; + /** + * @var string|null + */ + private $symfonyContainerXmlFile; + /** + * @var string|null + */ + private $symfonyContainerPhpFile; public function __invoke(RectorConfig $rectorConfig) : void { $rectorConfig->sets($this->sets); @@ -181,6 +189,12 @@ final class RectorConfigBuilder } else { $rectorConfig->disableParallel(); } + if ($this->symfonyContainerXmlFile !== null) { + $rectorConfig->symfonyContainerXml($this->symfonyContainerXmlFile); + } + if ($this->symfonyContainerPhpFile !== null) { + $rectorConfig->symfonyContainerPhp($this->symfonyContainerPhpFile); + } } /** * @param string[] $paths @@ -441,4 +455,14 @@ final class RectorConfigBuilder $this->phpVersion = $phpVersion; return $this; } + public function withSymfonyContainerXml(string $symfonyContainerXmlFile) : self + { + $this->symfonyContainerXmlFile = $symfonyContainerXmlFile; + return $this; + } + public function withSymfonyContainerPhp(string $symfonyContainerPhpFile) : self + { + $this->symfonyContainerPhpFile = $symfonyContainerPhpFile; + return $this; + } } diff --git a/vendor/scoper-autoload.php b/vendor/scoper-autoload.php index f5863022c9a..7e6eeab05ab 100644 --- a/vendor/scoper-autoload.php +++ b/vendor/scoper-autoload.php @@ -14,7 +14,7 @@ $loader = (static function () { // Restore the backup and ensure the excluded files are properly marked as loaded $GLOBALS['__composer_autoload_files'] = \array_merge( $existingComposerAutoloadFiles, - \array_fill_keys(['5928a00fa978807cf85d90ec3f4b0147', '0e6d7bf4a5811bfa5cf40c5ccd6fae6a'], true) + \array_fill_keys(['0e6d7bf4a5811bfa5cf40c5ccd6fae6a', '5928a00fa978807cf85d90ec3f4b0147'], true) ); return $loader;