mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 22:08:00 +01:00
Updated Rector to commit 6edf23f6b6cdc2982618ac311c6b7936d3fdcf16
6edf23f6b6
Added 4 methods into RectorConfigBuilder (#5524)
This commit is contained in:
parent
5d13103f37
commit
d54a5a3c50
@ -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
|
||||
*/
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
2
vendor/scoper-autoload.php
vendored
2
vendor/scoper-autoload.php
vendored
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user