Updated Rector to commit ca22ab5d024543bc804ec4f52b410aec42901f39

ca22ab5d02 Rename constant REFRESHABLE_NODES to NON_REFRESHABLE_NODES (#4900)
This commit is contained in:
Tomas Votruba 2023-09-03 11:26:42 +00:00
parent 2f2e7aff34
commit 2415d543b0
5 changed files with 14 additions and 14 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'd5f399eee5709932b579d41e3799c3097bbc101f';
public const PACKAGE_VERSION = 'ca22ab5d024543bc804ec4f52b410aec42901f39';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-09-02 22:56:30';
public const RELEASE_DATE = '2023-09-03 18:23:17';
/**
* @var int
*/

View File

@ -23,14 +23,14 @@ final class ScopeAnalyzer
/**
* @var array<class-string<Node>>
*/
private const REFRESHABLE_NODES = [Name::class, Identifier::class, Param::class, Arg::class, Variable::class];
private const NON_REFRESHABLE_NODES = [Name::class, Identifier::class, Param::class, Arg::class, Variable::class];
public function __construct(ScopeFactory $scopeFactory)
{
$this->scopeFactory = $scopeFactory;
}
public function isRefreshable(Node $node) : bool
{
foreach (self::REFRESHABLE_NODES as $noScopeNode) {
foreach (self::NON_REFRESHABLE_NODES as $noScopeNode) {
if ($node instanceof $noScopeNode) {
return \false;
}

2
vendor/autoload.php vendored
View File

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

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit686775e67d4c51227d6f13618b99937c
class ComposerAutoloaderInit2e16242e118da93a47aba7accb5b3719
{
private static $loader;
@ -22,17 +22,17 @@ class ComposerAutoloaderInit686775e67d4c51227d6f13618b99937c
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit686775e67d4c51227d6f13618b99937c', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit2e16242e118da93a47aba7accb5b3719', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit686775e67d4c51227d6f13618b99937c', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit2e16242e118da93a47aba7accb5b3719', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit686775e67d4c51227d6f13618b99937c::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit2e16242e118da93a47aba7accb5b3719::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInit686775e67d4c51227d6f13618b99937c::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInit2e16242e118da93a47aba7accb5b3719::$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 ComposerStaticInit686775e67d4c51227d6f13618b99937c
class ComposerStaticInit2e16242e118da93a47aba7accb5b3719
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -2611,9 +2611,9 @@ class ComposerStaticInit686775e67d4c51227d6f13618b99937c
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit686775e67d4c51227d6f13618b99937c::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit686775e67d4c51227d6f13618b99937c::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit686775e67d4c51227d6f13618b99937c::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit2e16242e118da93a47aba7accb5b3719::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit2e16242e118da93a47aba7accb5b3719::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit2e16242e118da93a47aba7accb5b3719::$classMap;
}, null, ClassLoader::class);
}