mirror of
https://github.com/rectorphp/rector.git
synced 2024-05-28 23:10:51 +00:00
Updated Rector to commit cc8c4d0933a25224d93f1dd206547b96f5918ec5
cc8c4d0933
misc
This commit is contained in:
parent
bad766b609
commit
d74121b574
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
|
@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
|
|||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit7ba6dd554afc2c025ed4ce3f34723d88::getLoader();
|
||||
return ComposerAutoloaderInit0f1dc8031fe515b03b247541f18abb9d::getLoader();
|
||||
|
|
10
vendor/composer/autoload_real.php
vendored
10
vendor/composer/autoload_real.php
vendored
|
@ -2,7 +2,7 @@
|
|||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInit7ba6dd554afc2c025ed4ce3f34723d88
|
||||
class ComposerAutoloaderInit0f1dc8031fe515b03b247541f18abb9d
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
|
@ -22,17 +22,17 @@ class ComposerAutoloaderInit7ba6dd554afc2c025ed4ce3f34723d88
|
|||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit7ba6dd554afc2c025ed4ce3f34723d88', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit0f1dc8031fe515b03b247541f18abb9d', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit7ba6dd554afc2c025ed4ce3f34723d88', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit0f1dc8031fe515b03b247541f18abb9d', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit7ba6dd554afc2c025ed4ce3f34723d88::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit0f1dc8031fe515b03b247541f18abb9d::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit7ba6dd554afc2c025ed4ce3f34723d88::$files;
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit0f1dc8031fe515b03b247541f18abb9d::$files;
|
||||
$requireFile = static function ($fileIdentifier, $file) {
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||
|
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInit7ba6dd554afc2c025ed4ce3f34723d88
|
||||
class ComposerStaticInit0f1dc8031fe515b03b247541f18abb9d
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
|
@ -3071,9 +3071,9 @@ class ComposerStaticInit7ba6dd554afc2c025ed4ce3f34723d88
|
|||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit7ba6dd554afc2c025ed4ce3f34723d88::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit7ba6dd554afc2c025ed4ce3f34723d88::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit7ba6dd554afc2c025ed4ce3f34723d88::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit0f1dc8031fe515b03b247541f18abb9d::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit0f1dc8031fe515b03b247541f18abb9d::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit0f1dc8031fe515b03b247541f18abb9d::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
|
@ -2126,12 +2126,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/rectorphp\/rector-symfony.git",
|
||||
"reference": "1412672122a4407ea1b398e1b28161f93241b407"
|
||||
"reference": "2f931343411b0a07fd2d9e955be2afbb6891ba79"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/1412672122a4407ea1b398e1b28161f93241b407",
|
||||
"reference": "1412672122a4407ea1b398e1b28161f93241b407",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/2f931343411b0a07fd2d9e955be2afbb6891ba79",
|
||||
"reference": "2f931343411b0a07fd2d9e955be2afbb6891ba79",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -2162,7 +2162,7 @@
|
|||
"symplify\/rule-doc-generator": "^11.1",
|
||||
"symplify\/vendor-patches": "^11.1"
|
||||
},
|
||||
"time": "2023-01-21T16:42:05+00:00",
|
||||
"time": "2023-01-21T22:20:04+00:00",
|
||||
"default-branch": true,
|
||||
"type": "rector-extension",
|
||||
"extra": {
|
||||
|
|
2
vendor/composer/installed.php
vendored
2
vendor/composer/installed.php
vendored
File diff suppressed because one or more lines are too long
|
@ -9,7 +9,7 @@ namespace Rector\RectorInstaller;
|
|||
*/
|
||||
final class GeneratedConfig
|
||||
{
|
||||
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main f0c3c11'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main cda9d4d'), 'rector/rector-php-parser' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-php-parser', 'relative_install_path' => '../../rector-php-parser', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 9ea5f62'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 2cfc0a5'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 1412672'));
|
||||
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main f0c3c11'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main cda9d4d'), 'rector/rector-php-parser' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-php-parser', 'relative_install_path' => '../../rector-php-parser', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 9ea5f62'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 2cfc0a5'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 2f93134'));
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -6,7 +6,6 @@ namespace Rector\Symfony\NodeAnalyzer;
|
|||
use PhpParser\Node\Expr\Closure;
|
||||
use PhpParser\Node\Name\FullyQualified;
|
||||
use Rector\NodeNameResolver\NodeNameResolver;
|
||||
use RectorPrefix202301\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
||||
final class SymfonyPhpClosureDetector
|
||||
{
|
||||
/**
|
||||
|
@ -27,6 +26,6 @@ final class SymfonyPhpClosureDetector
|
|||
if (!$firstParam->type instanceof FullyQualified) {
|
||||
return \false;
|
||||
}
|
||||
return $this->nodeNameResolver->isName($firstParam->type, ContainerConfigurator::class);
|
||||
return $this->nodeNameResolver->isName($firstParam->type, 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user