mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 22:08:00 +01:00
Updated Rector to commit a4096b224e7bed199991b87f4bdf88ccfbdb8cd9
a4096b224e
[Performance] Use STOP_TRAVERSAL inside SimpleCallableNodeTraverser on ConstructorAssignDetector (#4247)
This commit is contained in:
parent
52e59fd992
commit
84c306dbf2
@ -78,7 +78,7 @@ final class ConstructorAssignDetector
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
$isAssignedInConstructor = \true;
|
$isAssignedInConstructor = \true;
|
||||||
return NodeTraverser::DONT_TRAVERSE_CURRENT_AND_CHILDREN;
|
return NodeTraverser::STOP_TRAVERSAL;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (!$isAssignedInConstructor) {
|
if (!$isAssignedInConstructor) {
|
||||||
|
@ -19,12 +19,12 @@ final class VersionResolver
|
|||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const PACKAGE_VERSION = '765450f3e2c7ae1ebfb07a708f20640a66681bb9';
|
public const PACKAGE_VERSION = 'a4096b224e7bed199991b87f4bdf88ccfbdb8cd9';
|
||||||
/**
|
/**
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const RELEASE_DATE = '2023-06-16 22:27:30';
|
public const RELEASE_DATE = '2023-06-16 22:49:20';
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
|
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';
|
require_once __DIR__ . '/composer/autoload_real.php';
|
||||||
|
|
||||||
return ComposerAutoloaderInit1d10b4255c1e44025e6983c9dc12d0d6::getLoader();
|
return ComposerAutoloaderInitd90d5141f1ffe09b7a7b39268406e1d4::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
|
// autoload_real.php @generated by Composer
|
||||||
|
|
||||||
class ComposerAutoloaderInit1d10b4255c1e44025e6983c9dc12d0d6
|
class ComposerAutoloaderInitd90d5141f1ffe09b7a7b39268406e1d4
|
||||||
{
|
{
|
||||||
private static $loader;
|
private static $loader;
|
||||||
|
|
||||||
@ -22,17 +22,17 @@ class ComposerAutoloaderInit1d10b4255c1e44025e6983c9dc12d0d6
|
|||||||
return self::$loader;
|
return self::$loader;
|
||||||
}
|
}
|
||||||
|
|
||||||
spl_autoload_register(array('ComposerAutoloaderInit1d10b4255c1e44025e6983c9dc12d0d6', 'loadClassLoader'), true, true);
|
spl_autoload_register(array('ComposerAutoloaderInitd90d5141f1ffe09b7a7b39268406e1d4', 'loadClassLoader'), true, true);
|
||||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||||
spl_autoload_unregister(array('ComposerAutoloaderInit1d10b4255c1e44025e6983c9dc12d0d6', 'loadClassLoader'));
|
spl_autoload_unregister(array('ComposerAutoloaderInitd90d5141f1ffe09b7a7b39268406e1d4', 'loadClassLoader'));
|
||||||
|
|
||||||
require __DIR__ . '/autoload_static.php';
|
require __DIR__ . '/autoload_static.php';
|
||||||
call_user_func(\Composer\Autoload\ComposerStaticInit1d10b4255c1e44025e6983c9dc12d0d6::getInitializer($loader));
|
call_user_func(\Composer\Autoload\ComposerStaticInitd90d5141f1ffe09b7a7b39268406e1d4::getInitializer($loader));
|
||||||
|
|
||||||
$loader->setClassMapAuthoritative(true);
|
$loader->setClassMapAuthoritative(true);
|
||||||
$loader->register(true);
|
$loader->register(true);
|
||||||
|
|
||||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit1d10b4255c1e44025e6983c9dc12d0d6::$files;
|
$filesToLoad = \Composer\Autoload\ComposerStaticInitd90d5141f1ffe09b7a7b39268406e1d4::$files;
|
||||||
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
|
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
|
||||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
$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;
|
namespace Composer\Autoload;
|
||||||
|
|
||||||
class ComposerStaticInit1d10b4255c1e44025e6983c9dc12d0d6
|
class ComposerStaticInitd90d5141f1ffe09b7a7b39268406e1d4
|
||||||
{
|
{
|
||||||
public static $files = array (
|
public static $files = array (
|
||||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||||
@ -3094,9 +3094,9 @@ class ComposerStaticInit1d10b4255c1e44025e6983c9dc12d0d6
|
|||||||
public static function getInitializer(ClassLoader $loader)
|
public static function getInitializer(ClassLoader $loader)
|
||||||
{
|
{
|
||||||
return \Closure::bind(function () use ($loader) {
|
return \Closure::bind(function () use ($loader) {
|
||||||
$loader->prefixLengthsPsr4 = ComposerStaticInit1d10b4255c1e44025e6983c9dc12d0d6::$prefixLengthsPsr4;
|
$loader->prefixLengthsPsr4 = ComposerStaticInitd90d5141f1ffe09b7a7b39268406e1d4::$prefixLengthsPsr4;
|
||||||
$loader->prefixDirsPsr4 = ComposerStaticInit1d10b4255c1e44025e6983c9dc12d0d6::$prefixDirsPsr4;
|
$loader->prefixDirsPsr4 = ComposerStaticInitd90d5141f1ffe09b7a7b39268406e1d4::$prefixDirsPsr4;
|
||||||
$loader->classMap = ComposerStaticInit1d10b4255c1e44025e6983c9dc12d0d6::$classMap;
|
$loader->classMap = ComposerStaticInitd90d5141f1ffe09b7a7b39268406e1d4::$classMap;
|
||||||
|
|
||||||
}, null, ClassLoader::class);
|
}, null, ClassLoader::class);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user