Updated Rector to commit 1e4a205f63b73a1e7731a705cf213d74728a5313

1e4a205f63 de-scope ContainerBuilder
This commit is contained in:
Tomas Votruba 2021-06-05 19:28:07 +00:00
parent a0bed6089f
commit 1af09b0624
6 changed files with 28 additions and 19 deletions

View File

@ -16,11 +16,11 @@ final class VersionResolver
/**
* @var string
*/
public const PACKAGE_VERSION = '3818dfdbfca501d457712c1db8a56a0f10efbb12';
public const PACKAGE_VERSION = '1e4a205f63b73a1e7731a705cf213d74728a5313';
/**
* @var string
*/
public const RELEASE_DATE = '2021-06-05 20:42:03';
public const RELEASE_DATE = '2021-06-05 21:18:04';
public static function resolvePackageVersion() : string
{
$process = new \RectorPrefix20210605\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__);

2
vendor/autoload.php vendored
View File

@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit53913268bd80ec660222eeb3ea80b8bd::getLoader();
return ComposerAutoloaderInit4640c53d46956b5af8b343db0f09f02f::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit53913268bd80ec660222eeb3ea80b8bd
class ComposerAutoloaderInit4640c53d46956b5af8b343db0f09f02f
{
private static $loader;
@ -22,15 +22,15 @@ class ComposerAutoloaderInit53913268bd80ec660222eeb3ea80b8bd
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit53913268bd80ec660222eeb3ea80b8bd', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit4640c53d46956b5af8b343db0f09f02f', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
spl_autoload_unregister(array('ComposerAutoloaderInit53913268bd80ec660222eeb3ea80b8bd', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit4640c53d46956b5af8b343db0f09f02f', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit53913268bd80ec660222eeb3ea80b8bd::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit4640c53d46956b5af8b343db0f09f02f::getInitializer($loader));
} else {
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
@ -42,19 +42,19 @@ class ComposerAutoloaderInit53913268bd80ec660222eeb3ea80b8bd
$loader->register(true);
if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit53913268bd80ec660222eeb3ea80b8bd::$files;
$includeFiles = Composer\Autoload\ComposerStaticInit4640c53d46956b5af8b343db0f09f02f::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire53913268bd80ec660222eeb3ea80b8bd($fileIdentifier, $file);
composerRequire4640c53d46956b5af8b343db0f09f02f($fileIdentifier, $file);
}
return $loader;
}
}
function composerRequire53913268bd80ec660222eeb3ea80b8bd($fileIdentifier, $file)
function composerRequire4640c53d46956b5af8b343db0f09f02f($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInit53913268bd80ec660222eeb3ea80b8bd
class ComposerStaticInit4640c53d46956b5af8b343db0f09f02f
{
public static $files = array (
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
@ -3872,9 +3872,9 @@ class ComposerStaticInit53913268bd80ec660222eeb3ea80b8bd
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit53913268bd80ec660222eeb3ea80b8bd::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit53913268bd80ec660222eeb3ea80b8bd::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit53913268bd80ec660222eeb3ea80b8bd::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit4640c53d46956b5af8b343db0f09f02f::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit4640c53d46956b5af8b343db0f09f02f::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit4640c53d46956b5af8b343db0f09f02f::$classMap;
}, null, ClassLoader::class);
}

View File

@ -21,8 +21,8 @@ if (!class_exists('SomeTestCase', false) && !interface_exists('SomeTestCase', fa
if (!class_exists('CheckoutEntityFactory', false) && !interface_exists('CheckoutEntityFactory', false) && !trait_exists('CheckoutEntityFactory', false)) {
spl_autoload_call('RectorPrefix20210605\CheckoutEntityFactory');
}
if (!class_exists('ComposerAutoloaderInit53913268bd80ec660222eeb3ea80b8bd', false) && !interface_exists('ComposerAutoloaderInit53913268bd80ec660222eeb3ea80b8bd', false) && !trait_exists('ComposerAutoloaderInit53913268bd80ec660222eeb3ea80b8bd', false)) {
spl_autoload_call('RectorPrefix20210605\ComposerAutoloaderInit53913268bd80ec660222eeb3ea80b8bd');
if (!class_exists('ComposerAutoloaderInit4640c53d46956b5af8b343db0f09f02f', false) && !interface_exists('ComposerAutoloaderInit4640c53d46956b5af8b343db0f09f02f', false) && !trait_exists('ComposerAutoloaderInit4640c53d46956b5af8b343db0f09f02f', false)) {
spl_autoload_call('RectorPrefix20210605\ComposerAutoloaderInit4640c53d46956b5af8b343db0f09f02f');
}
if (!class_exists('Doctrine\Inflector\Inflector', false) && !interface_exists('Doctrine\Inflector\Inflector', false) && !trait_exists('Doctrine\Inflector\Inflector', false)) {
spl_autoload_call('RectorPrefix20210605\Doctrine\Inflector\Inflector');
@ -3258,6 +3258,9 @@ if (!class_exists('webPageTree', false) && !interface_exists('webPageTree', fals
if (!class_exists('wslib', false) && !interface_exists('wslib', false) && !trait_exists('wslib', false)) {
spl_autoload_call('RectorPrefix20210605\wslib');
}
if (!class_exists('Symfony\Component\DependencyInjection\ContainerBuilder', false) && !interface_exists('Symfony\Component\DependencyInjection\ContainerBuilder', false) && !trait_exists('Symfony\Component\DependencyInjection\ContainerBuilder', false)) {
spl_autoload_call('RectorPrefix20210605\Symfony\Component\DependencyInjection\ContainerBuilder');
}
if (!class_exists('Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator', false) && !interface_exists('Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator', false) && !trait_exists('Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator', false)) {
spl_autoload_call('RectorPrefix20210605\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator');
}
@ -3323,9 +3326,9 @@ if (!function_exists('print_node')) {
return \RectorPrefix20210605\print_node(...func_get_args());
}
}
if (!function_exists('composerRequire53913268bd80ec660222eeb3ea80b8bd')) {
function composerRequire53913268bd80ec660222eeb3ea80b8bd() {
return \RectorPrefix20210605\composerRequire53913268bd80ec660222eeb3ea80b8bd(...func_get_args());
if (!function_exists('composerRequire4640c53d46956b5af8b343db0f09f02f')) {
function composerRequire4640c53d46956b5af8b343db0f09f02f() {
return \RectorPrefix20210605\composerRequire4640c53d46956b5af8b343db0f09f02f(...func_get_args());
}
}
if (!function_exists('parseArgs')) {

View File

@ -1428,3 +1428,9 @@ class ContainerBuilder extends \RectorPrefix20210605\Symfony\Component\Dependenc
return \false;
}
}
/**
* ContainerBuilder is a DI container that provides an API to easily describe services.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
\class_alias('RectorPrefix20210605\\Symfony\\Component\\DependencyInjection\\ContainerBuilder', 'Symfony\\Component\\DependencyInjection\\ContainerBuilder', \false);