mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-16 13:00:23 +01:00
Updated Rector to commit 92b4999c34e9fad614aedb1d98d05829dfbdaa2b
92b4999c34
Bump to PHPStan ^2.1.1 and remove usage of PropertyHookNameVisitor on SimpleParser (#6649)
This commit is contained in:
parent
e20eea98da
commit
fcafd42fb3
@ -8,7 +8,7 @@
|
||||
],
|
||||
"require": {
|
||||
"php": "^7.4|^8.0",
|
||||
"phpstan/phpstan": "^2.1.0"
|
||||
"phpstan/phpstan": "^2.1.1"
|
||||
},
|
||||
"autoload": {
|
||||
"files": [
|
||||
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '1d078fa4a5e62eee5ff5ef441a212e01c2550a16';
|
||||
public const PACKAGE_VERSION = '92b4999c34e9fad614aedb1d98d05829dfbdaa2b';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2025-01-05 13:49:38';
|
||||
public const RELEASE_DATE = '2025-01-06 00:00:40';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
@ -7,7 +7,6 @@ use PhpParser\NodeVisitor\NameResolver;
|
||||
use PhpParser\Parser;
|
||||
use PhpParser\ParserFactory;
|
||||
use PHPStan\Parser\CachedParser;
|
||||
use PHPStan\Parser\PropertyHookNameVisitor;
|
||||
use PHPStan\Parser\SimpleParser;
|
||||
use PHPStan\Parser\VariadicFunctionsVisitor;
|
||||
use PHPStan\Parser\VariadicMethodsVisitor;
|
||||
@ -38,8 +37,7 @@ final class SmartPhpParserFactory
|
||||
$nameResolver = new NameResolver();
|
||||
$variadicMethodsVisitor = new VariadicMethodsVisitor();
|
||||
$variadicFunctionsVisitor = new VariadicFunctionsVisitor();
|
||||
$propertyHookNameVisitor = new PropertyHookNameVisitor();
|
||||
$simpleParser = new SimpleParser($parser, $nameResolver, $variadicMethodsVisitor, $variadicFunctionsVisitor, $propertyHookNameVisitor);
|
||||
$simpleParser = new SimpleParser($parser, $nameResolver, $variadicMethodsVisitor, $variadicFunctionsVisitor);
|
||||
return new CachedParser($simpleParser, 1024);
|
||||
}
|
||||
}
|
||||
|
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';
|
||||
|
||||
return ComposerAutoloaderInit4fb50f2d4af661ecee2245f9ff725125::getLoader();
|
||||
return ComposerAutoloaderInit4349f48e2d711e343a1bf0101d0ae855::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
|
||||
|
||||
class ComposerAutoloaderInit4fb50f2d4af661ecee2245f9ff725125
|
||||
class ComposerAutoloaderInit4349f48e2d711e343a1bf0101d0ae855
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,17 +22,17 @@ class ComposerAutoloaderInit4fb50f2d4af661ecee2245f9ff725125
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit4fb50f2d4af661ecee2245f9ff725125', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit4349f48e2d711e343a1bf0101d0ae855', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit4fb50f2d4af661ecee2245f9ff725125', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit4349f48e2d711e343a1bf0101d0ae855', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit4fb50f2d4af661ecee2245f9ff725125::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit4349f48e2d711e343a1bf0101d0ae855::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit4fb50f2d4af661ecee2245f9ff725125::$files;
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit4349f48e2d711e343a1bf0101d0ae855::$files;
|
||||
$requireFile = \Closure::bind(static function ($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 ComposerStaticInit4fb50f2d4af661ecee2245f9ff725125
|
||||
class ComposerStaticInit4349f48e2d711e343a1bf0101d0ae855
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
@ -2854,9 +2854,9 @@ class ComposerStaticInit4fb50f2d4af661ecee2245f9ff725125
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit4fb50f2d4af661ecee2245f9ff725125::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit4fb50f2d4af661ecee2245f9ff725125::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit4fb50f2d4af661ecee2245f9ff725125::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit4349f48e2d711e343a1bf0101d0ae855::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit4349f48e2d711e343a1bf0101d0ae855::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit4349f48e2d711e343a1bf0101d0ae855::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
2
vendor/composer/installed.php
vendored
2
vendor/composer/installed.php
vendored
File diff suppressed because one or more lines are too long
2
vendor/scoper-autoload.php
vendored
2
vendor/scoper-autoload.php
vendored
@ -30,7 +30,7 @@ if (!function_exists('humbug_phpscoper_expose_class')) {
|
||||
}
|
||||
}
|
||||
humbug_phpscoper_expose_class('AutoloadIncluder', 'RectorPrefix202501\AutoloadIncluder');
|
||||
humbug_phpscoper_expose_class('ComposerAutoloaderInit4fb50f2d4af661ecee2245f9ff725125', 'RectorPrefix202501\ComposerAutoloaderInit4fb50f2d4af661ecee2245f9ff725125');
|
||||
humbug_phpscoper_expose_class('ComposerAutoloaderInit4349f48e2d711e343a1bf0101d0ae855', 'RectorPrefix202501\ComposerAutoloaderInit4349f48e2d711e343a1bf0101d0ae855');
|
||||
humbug_phpscoper_expose_class('Product', 'RectorPrefix202501\Product');
|
||||
humbug_phpscoper_expose_class('SomeTest', 'RectorPrefix202501\SomeTest');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user