Updated Rector to commit f936077f5fd5428f97d49e58f1e2a22db2c78978

f936077f5f Fix performance issue (#2774)
This commit is contained in:
Tomas Votruba 2022-08-18 09:32:38 +00:00
parent f252a73f68
commit 5b360ddf1d
5 changed files with 15 additions and 15 deletions

View File

@ -130,6 +130,7 @@ final class PHPStanNodeScopeResolver
$this->renamedClassesSourceLocator = $renamedClassesSourceLocator;
$this->parentAttributeSourceLocator = $parentAttributeSourceLocator;
$this->nodeNameResolver = $nodeNameResolver;
$this->decoratePHPStanNodeScopeResolverWithRenamedClassSourceLocator($this->nodeScopeResolver);
}
/**
* @param Stmt[] $stmts
@ -209,7 +210,6 @@ final class PHPStanNodeScopeResolver
$node->setAttribute(AttributeKey::SCOPE, $mutatingScope);
}
};
$this->decoratePHPStanNodeScopeResolverWithRenamedClassSourceLocator($this->nodeScopeResolver);
return $this->processNodesWithDependentFiles($smartFileInfo, $stmts, $scope, $nodeCallback);
}
private function processArrayItem(ArrayItem $arrayItem, MutatingScope $mutatingScope) : void

View File

@ -17,12 +17,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'fd5ec9120fef2ac270a6b9f60b3656f6a9895192';
public const PACKAGE_VERSION = 'f936077f5fd5428f97d49e58f1e2a22db2c78978';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2022-08-17 22:00:00';
public const RELEASE_DATE = '2022-08-18 11:28:24';
/**
* @var int
*/

2
vendor/autoload.php vendored
View File

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

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit4aae4458873e22faaa4293ad65fa4559
class ComposerAutoloaderInit2399bae920a0c53832626edd0865e019
{
private static $loader;
@ -22,19 +22,19 @@ class ComposerAutoloaderInit4aae4458873e22faaa4293ad65fa4559
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit4aae4458873e22faaa4293ad65fa4559', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit2399bae920a0c53832626edd0865e019', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit4aae4458873e22faaa4293ad65fa4559', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit2399bae920a0c53832626edd0865e019', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit4aae4458873e22faaa4293ad65fa4559::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit2399bae920a0c53832626edd0865e019::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$includeFiles = \Composer\Autoload\ComposerStaticInit4aae4458873e22faaa4293ad65fa4559::$files;
$includeFiles = \Composer\Autoload\ComposerStaticInit2399bae920a0c53832626edd0865e019::$files;
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire4aae4458873e22faaa4293ad65fa4559($fileIdentifier, $file);
composerRequire2399bae920a0c53832626edd0865e019($fileIdentifier, $file);
}
return $loader;
@ -46,7 +46,7 @@ class ComposerAutoloaderInit4aae4458873e22faaa4293ad65fa4559
* @param string $file
* @return void
*/
function composerRequire4aae4458873e22faaa4293ad65fa4559($fileIdentifier, $file)
function composerRequire2399bae920a0c53832626edd0865e019($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 ComposerStaticInit4aae4458873e22faaa4293ad65fa4559
class ComposerStaticInit2399bae920a0c53832626edd0865e019
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
@ -3250,9 +3250,9 @@ class ComposerStaticInit4aae4458873e22faaa4293ad65fa4559
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit4aae4458873e22faaa4293ad65fa4559::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit4aae4458873e22faaa4293ad65fa4559::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit4aae4458873e22faaa4293ad65fa4559::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit2399bae920a0c53832626edd0865e019::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit2399bae920a0c53832626edd0865e019::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit2399bae920a0c53832626edd0865e019::$classMap;
}, null, ClassLoader::class);
}