Updated Rector to commit 90b1f9fdd37038b82df9c1b14fd2114b3075468c

90b1f9fdd3 [Core] No need reindex FileWithoutNamespace on beforeTraverse (#4043)
This commit is contained in:
Tomas Votruba 2023-06-02 03:58:22 +00:00
parent cbde46307b
commit 4798412baf
7 changed files with 16 additions and 17 deletions

2
vendor/autoload.php vendored
View File

@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitc6e12c59ba7ad2e4a998869adcaa3c4b::getLoader();
return ComposerAutoloaderInit97c3f51071db366820c69beaf32b41c5::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInitc6e12c59ba7ad2e4a998869adcaa3c4b
class ComposerAutoloaderInit97c3f51071db366820c69beaf32b41c5
{
private static $loader;
@ -22,17 +22,17 @@ class ComposerAutoloaderInitc6e12c59ba7ad2e4a998869adcaa3c4b
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInitc6e12c59ba7ad2e4a998869adcaa3c4b', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit97c3f51071db366820c69beaf32b41c5', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInitc6e12c59ba7ad2e4a998869adcaa3c4b', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit97c3f51071db366820c69beaf32b41c5', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInitc6e12c59ba7ad2e4a998869adcaa3c4b::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit97c3f51071db366820c69beaf32b41c5::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInitc6e12c59ba7ad2e4a998869adcaa3c4b::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInit97c3f51071db366820c69beaf32b41c5::$files;
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInitc6e12c59ba7ad2e4a998869adcaa3c4b
class ComposerStaticInit97c3f51071db366820c69beaf32b41c5
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -3066,9 +3066,9 @@ class ComposerStaticInitc6e12c59ba7ad2e4a998869adcaa3c4b
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInitc6e12c59ba7ad2e4a998869adcaa3c4b::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitc6e12c59ba7ad2e4a998869adcaa3c4b::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitc6e12c59ba7ad2e4a998869adcaa3c4b::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit97c3f51071db366820c69beaf32b41c5::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit97c3f51071db366820c69beaf32b41c5::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit97c3f51071db366820c69beaf32b41c5::$classMap;
}, null, ClassLoader::class);
}

View File

@ -1921,12 +1921,12 @@
"source": {
"type": "git",
"url": "https:\/\/github.com\/rectorphp\/rector-downgrade-php.git",
"reference": "60db9b4dd79eb36cac86d27bb165174345b815c1"
"reference": "c30399fe8bed067840e58ab67d6469c69ec59b28"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/60db9b4dd79eb36cac86d27bb165174345b815c1",
"reference": "60db9b4dd79eb36cac86d27bb165174345b815c1",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/c30399fe8bed067840e58ab67d6469c69ec59b28",
"reference": "c30399fe8bed067840e58ab67d6469c69ec59b28",
"shasum": ""
},
"require": {
@ -1950,7 +1950,7 @@
"tomasvotruba\/type-coverage": "^0.2",
"tomasvotruba\/unused-public": "^0.1"
},
"time": "2023-06-01T14:08:03+00:00",
"time": "2023-06-02T03:54:09+00:00",
"default-branch": true,
"type": "rector-extension",
"extra": {

File diff suppressed because one or more lines are too long

View File

@ -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 7f0656f'), '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 60db9b4'), '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 b980109'), '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 13f7cc4'));
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 7f0656f'), '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 c30399f'), '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 b980109'), '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 13f7cc4'));
private function __construct()
{
}

View File

@ -127,7 +127,6 @@ CODE_SAMPLE
if ($isAllowed) {
continue;
}
\RectorPrefix202306\print_node($newOrInstanceof->class);
if ($this->isAssign($newOrInstanceof->class)) {
/** @var Assign|AssignRef|AssignOp $exprAssign */
$exprAssign = $newOrInstanceof->class;