Updated Rector to commit 4628b6c1af

4628b6c1af [scoped] unprefixed ComposerJsonFactory
This commit is contained in:
Tomas Votruba 2021-05-12 17:21:21 +00:00
parent c71133017f
commit b2e64dbfba
5 changed files with 24 additions and 17 deletions

2
vendor/autoload.php vendored
View File

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

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit2c500e1f757baf68e6255988b62f326c
class ComposerAutoloaderInit53720961570e160a508d32444a577ffb
{
private static $loader;
@ -22,15 +22,15 @@ class ComposerAutoloaderInit2c500e1f757baf68e6255988b62f326c
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit2c500e1f757baf68e6255988b62f326c', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit53720961570e160a508d32444a577ffb', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
spl_autoload_unregister(array('ComposerAutoloaderInit2c500e1f757baf68e6255988b62f326c', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit53720961570e160a508d32444a577ffb', '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\ComposerStaticInit2c500e1f757baf68e6255988b62f326c::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit53720961570e160a508d32444a577ffb::getInitializer($loader));
} else {
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
@ -42,19 +42,19 @@ class ComposerAutoloaderInit2c500e1f757baf68e6255988b62f326c
$loader->register(true);
if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit2c500e1f757baf68e6255988b62f326c::$files;
$includeFiles = Composer\Autoload\ComposerStaticInit53720961570e160a508d32444a577ffb::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire2c500e1f757baf68e6255988b62f326c($fileIdentifier, $file);
composerRequire53720961570e160a508d32444a577ffb($fileIdentifier, $file);
}
return $loader;
}
}
function composerRequire2c500e1f757baf68e6255988b62f326c($fileIdentifier, $file)
function composerRequire53720961570e160a508d32444a577ffb($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInit2c500e1f757baf68e6255988b62f326c
class ComposerStaticInit53720961570e160a508d32444a577ffb
{
public static $files = array (
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
@ -3481,9 +3481,9 @@ class ComposerStaticInit2c500e1f757baf68e6255988b62f326c
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit2c500e1f757baf68e6255988b62f326c::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit2c500e1f757baf68e6255988b62f326c::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit2c500e1f757baf68e6255988b62f326c::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit53720961570e160a508d32444a577ffb::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit53720961570e160a508d32444a577ffb::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit53720961570e160a508d32444a577ffb::$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('RectorPrefix20210512\CheckoutEntityFactory');
}
if (!class_exists('ComposerAutoloaderInit2c500e1f757baf68e6255988b62f326c', false) && !interface_exists('ComposerAutoloaderInit2c500e1f757baf68e6255988b62f326c', false) && !trait_exists('ComposerAutoloaderInit2c500e1f757baf68e6255988b62f326c', false)) {
spl_autoload_call('RectorPrefix20210512\ComposerAutoloaderInit2c500e1f757baf68e6255988b62f326c');
if (!class_exists('ComposerAutoloaderInit53720961570e160a508d32444a577ffb', false) && !interface_exists('ComposerAutoloaderInit53720961570e160a508d32444a577ffb', false) && !trait_exists('ComposerAutoloaderInit53720961570e160a508d32444a577ffb', false)) {
spl_autoload_call('RectorPrefix20210512\ComposerAutoloaderInit53720961570e160a508d32444a577ffb');
}
if (!class_exists('Doctrine\Inflector\Inflector', false) && !interface_exists('Doctrine\Inflector\Inflector', false) && !trait_exists('Doctrine\Inflector\Inflector', false)) {
spl_autoload_call('RectorPrefix20210512\Doctrine\Inflector\Inflector');
@ -54,6 +54,9 @@ if (!class_exists('UnhandledMatchError', false) && !interface_exists('UnhandledM
if (!class_exists('ValueError', false) && !interface_exists('ValueError', false) && !trait_exists('ValueError', false)) {
spl_autoload_call('RectorPrefix20210512\ValueError');
}
if (!class_exists('Symplify\ComposerJsonManipulator\ComposerJsonFactory', false) && !interface_exists('Symplify\ComposerJsonManipulator\ComposerJsonFactory', false) && !trait_exists('Symplify\ComposerJsonManipulator\ComposerJsonFactory', false)) {
spl_autoload_call('RectorPrefix20210512\Symplify\ComposerJsonManipulator\ComposerJsonFactory');
}
if (!class_exists('Symplify\ComposerJsonManipulator\ValueObject\ComposerJson', false) && !interface_exists('Symplify\ComposerJsonManipulator\ValueObject\ComposerJson', false) && !trait_exists('Symplify\ComposerJsonManipulator\ValueObject\ComposerJson', false)) {
spl_autoload_call('RectorPrefix20210512\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson');
}
@ -95,9 +98,9 @@ if (!function_exists('print_node')) {
return \RectorPrefix20210512\print_node(...func_get_args());
}
}
if (!function_exists('composerRequire2c500e1f757baf68e6255988b62f326c')) {
function composerRequire2c500e1f757baf68e6255988b62f326c() {
return \RectorPrefix20210512\composerRequire2c500e1f757baf68e6255988b62f326c(...func_get_args());
if (!function_exists('composerRequire53720961570e160a508d32444a577ffb')) {
function composerRequire53720961570e160a508d32444a577ffb() {
return \RectorPrefix20210512\composerRequire53720961570e160a508d32444a577ffb(...func_get_args());
}
}
if (!function_exists('parseArgs')) {

View File

@ -122,3 +122,7 @@ final class ComposerJsonFactory
return $composerJson;
}
}
/**
* @see \Symplify\ComposerJsonManipulator\Tests\ComposerJsonFactory\ComposerJsonFactoryTest
*/
\class_alias('RectorPrefix20210512\\Symplify\\ComposerJsonManipulator\\ComposerJsonFactory', 'Symplify\\ComposerJsonManipulator\\ComposerJsonFactory', \false);