mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
Updated Rector to commit 0a98c58b9105fd77536f5f129b5aa43b903a994e
0a98c58b91
[Php74] Skip static property filled by trait on TypedPropertyRector (#2091)
This commit is contained in:
parent
4c91bd28f4
commit
7bdca9f843
@ -16,11 +16,11 @@ final class VersionResolver
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '569560bff509d9b78215794ed96079afa833db40';
|
||||
public const PACKAGE_VERSION = '0a98c58b9105fd77536f5f129b5aa43b903a994e';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2022-04-19 00:19:17';
|
||||
public const RELEASE_DATE = '2022-04-19 05:36:22';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -77,10 +77,7 @@ final class PropertyFetchAnalyzer
|
||||
public function containsLocalPropertyFetchName(\PhpParser\Node $node, string $propertyName) : bool
|
||||
{
|
||||
return (bool) $this->betterNodeFinder->findFirst($node, function (\PhpParser\Node $node) use($propertyName) : bool {
|
||||
if (!$node instanceof \PhpParser\Node\Expr\PropertyFetch) {
|
||||
return \false;
|
||||
}
|
||||
return $this->nodeNameResolver->isName($node->name, $propertyName);
|
||||
return $this->isLocalPropertyFetchName($node, $propertyName);
|
||||
});
|
||||
}
|
||||
/**
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit9a556518410fbe7dd84de4d220729d45::getLoader();
|
||||
return ComposerAutoloaderInit7d09eba1a53e4d861c649cdbf7b0cdb0::getLoader();
|
||||
|
14
vendor/composer/autoload_real.php
vendored
14
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInit9a556518410fbe7dd84de4d220729d45
|
||||
class ComposerAutoloaderInit7d09eba1a53e4d861c649cdbf7b0cdb0
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,19 +22,19 @@ class ComposerAutoloaderInit9a556518410fbe7dd84de4d220729d45
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit9a556518410fbe7dd84de4d220729d45', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit7d09eba1a53e4d861c649cdbf7b0cdb0', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit9a556518410fbe7dd84de4d220729d45', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit7d09eba1a53e4d861c649cdbf7b0cdb0', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit9a556518410fbe7dd84de4d220729d45::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit7d09eba1a53e4d861c649cdbf7b0cdb0::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInit9a556518410fbe7dd84de4d220729d45::$files;
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInit7d09eba1a53e4d861c649cdbf7b0cdb0::$files;
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire9a556518410fbe7dd84de4d220729d45($fileIdentifier, $file);
|
||||
composerRequire7d09eba1a53e4d861c649cdbf7b0cdb0($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
@ -46,7 +46,7 @@ class ComposerAutoloaderInit9a556518410fbe7dd84de4d220729d45
|
||||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequire9a556518410fbe7dd84de4d220729d45($fileIdentifier, $file)
|
||||
function composerRequire7d09eba1a53e4d861c649cdbf7b0cdb0($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 ComposerStaticInit9a556518410fbe7dd84de4d220729d45
|
||||
class ComposerStaticInit7d09eba1a53e4d861c649cdbf7b0cdb0
|
||||
{
|
||||
public static $files = array (
|
||||
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
|
||||
@ -3865,9 +3865,9 @@ class ComposerStaticInit9a556518410fbe7dd84de4d220729d45
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit9a556518410fbe7dd84de4d220729d45::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit9a556518410fbe7dd84de4d220729d45::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit9a556518410fbe7dd84de4d220729d45::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit7d09eba1a53e4d861c649cdbf7b0cdb0::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit7d09eba1a53e4d861c649cdbf7b0cdb0::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit7d09eba1a53e4d861c649cdbf7b0cdb0::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
10
vendor/scoper-autoload.php
vendored
10
vendor/scoper-autoload.php
vendored
@ -9,8 +9,8 @@ $loader = require_once __DIR__.'/autoload.php';
|
||||
if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) {
|
||||
spl_autoload_call('RectorPrefix20220418\AutoloadIncluder');
|
||||
}
|
||||
if (!class_exists('ComposerAutoloaderInit9a556518410fbe7dd84de4d220729d45', false) && !interface_exists('ComposerAutoloaderInit9a556518410fbe7dd84de4d220729d45', false) && !trait_exists('ComposerAutoloaderInit9a556518410fbe7dd84de4d220729d45', false)) {
|
||||
spl_autoload_call('RectorPrefix20220418\ComposerAutoloaderInit9a556518410fbe7dd84de4d220729d45');
|
||||
if (!class_exists('ComposerAutoloaderInit7d09eba1a53e4d861c649cdbf7b0cdb0', false) && !interface_exists('ComposerAutoloaderInit7d09eba1a53e4d861c649cdbf7b0cdb0', false) && !trait_exists('ComposerAutoloaderInit7d09eba1a53e4d861c649cdbf7b0cdb0', false)) {
|
||||
spl_autoload_call('RectorPrefix20220418\ComposerAutoloaderInit7d09eba1a53e4d861c649cdbf7b0cdb0');
|
||||
}
|
||||
if (!class_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !interface_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !trait_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false)) {
|
||||
spl_autoload_call('RectorPrefix20220418\Helmich\TypoScriptParser\Parser\AST\Statement');
|
||||
@ -62,9 +62,9 @@ if (!function_exists('print_node')) {
|
||||
return \RectorPrefix20220418\print_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('composerRequire9a556518410fbe7dd84de4d220729d45')) {
|
||||
function composerRequire9a556518410fbe7dd84de4d220729d45() {
|
||||
return \RectorPrefix20220418\composerRequire9a556518410fbe7dd84de4d220729d45(...func_get_args());
|
||||
if (!function_exists('composerRequire7d09eba1a53e4d861c649cdbf7b0cdb0')) {
|
||||
function composerRequire7d09eba1a53e4d861c649cdbf7b0cdb0() {
|
||||
return \RectorPrefix20220418\composerRequire7d09eba1a53e4d861c649cdbf7b0cdb0(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('scanPath')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user