Updated Rector to commit 765e849e612553708296dd501375b49784ad1ca8

765e849e61 Narrow rule complexity, add custom PHPStan to check whole rule complexity tree and spot architecture flaws (#5025)
This commit is contained in:
Tomas Votruba 2023-09-19 13:41:47 +00:00
parent 76a717ee63
commit 09bdee3938
7 changed files with 30 additions and 19 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'e8718df6389c07916c967ae8650e3905a98550b9';
public const PACKAGE_VERSION = '765e849e612553708296dd501375b49784ad1ca8';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-09-19 14:22:26';
public const RELEASE_DATE = '2023-09-19 13:36:51';
/**
* @var int
*/

2
vendor/autoload.php vendored
View File

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

View File

@ -1883,6 +1883,7 @@ return array(
'Rector\\Php80\\ValueObject\\PropertyPromotionCandidate' => $baseDir . '/rules/Php80/ValueObject/PropertyPromotionCandidate.php',
'Rector\\Php80\\ValueObject\\StrStartsWith' => $baseDir . '/rules/Php80/ValueObject/StrStartsWith.php',
'Rector\\Php81\\Enum\\AttributeName' => $baseDir . '/rules/Php81/Enum/AttributeName.php',
'Rector\\Php81\\Enum\\NameNullToStrictNullFunctionMap' => $baseDir . '/rules/Php81/Enum/NameNullToStrictNullFunctionMap.php',
'Rector\\Php81\\NodeAnalyzer\\CoalesePropertyAssignMatcher' => $baseDir . '/rules/Php81/NodeAnalyzer/CoalesePropertyAssignMatcher.php',
'Rector\\Php81\\NodeAnalyzer\\ComplexNewAnalyzer' => $baseDir . '/rules/Php81/NodeAnalyzer/ComplexNewAnalyzer.php',
'Rector\\Php81\\NodeFactory\\EnumFactory' => $baseDir . '/rules/Php81/NodeFactory/EnumFactory.php',

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit04a97c75ff729507093aad74be4b3578
class ComposerAutoloaderInitb69c7fa0bff34fe0f24889d62131edd3
{
private static $loader;
@ -22,17 +22,17 @@ class ComposerAutoloaderInit04a97c75ff729507093aad74be4b3578
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit04a97c75ff729507093aad74be4b3578', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitb69c7fa0bff34fe0f24889d62131edd3', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit04a97c75ff729507093aad74be4b3578', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitb69c7fa0bff34fe0f24889d62131edd3', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit04a97c75ff729507093aad74be4b3578::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInitb69c7fa0bff34fe0f24889d62131edd3::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInit04a97c75ff729507093aad74be4b3578::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInitb69c7fa0bff34fe0f24889d62131edd3::$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 ComposerStaticInit04a97c75ff729507093aad74be4b3578
class ComposerStaticInitb69c7fa0bff34fe0f24889d62131edd3
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -2103,6 +2103,7 @@ class ComposerStaticInit04a97c75ff729507093aad74be4b3578
'Rector\\Php80\\ValueObject\\PropertyPromotionCandidate' => __DIR__ . '/../..' . '/rules/Php80/ValueObject/PropertyPromotionCandidate.php',
'Rector\\Php80\\ValueObject\\StrStartsWith' => __DIR__ . '/../..' . '/rules/Php80/ValueObject/StrStartsWith.php',
'Rector\\Php81\\Enum\\AttributeName' => __DIR__ . '/../..' . '/rules/Php81/Enum/AttributeName.php',
'Rector\\Php81\\Enum\\NameNullToStrictNullFunctionMap' => __DIR__ . '/../..' . '/rules/Php81/Enum/NameNullToStrictNullFunctionMap.php',
'Rector\\Php81\\NodeAnalyzer\\CoalesePropertyAssignMatcher' => __DIR__ . '/../..' . '/rules/Php81/NodeAnalyzer/CoalesePropertyAssignMatcher.php',
'Rector\\Php81\\NodeAnalyzer\\ComplexNewAnalyzer' => __DIR__ . '/../..' . '/rules/Php81/NodeAnalyzer/ComplexNewAnalyzer.php',
'Rector\\Php81\\NodeFactory\\EnumFactory' => __DIR__ . '/../..' . '/rules/Php81/NodeFactory/EnumFactory.php',
@ -2600,9 +2601,9 @@ class ComposerStaticInit04a97c75ff729507093aad74be4b3578
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit04a97c75ff729507093aad74be4b3578::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit04a97c75ff729507093aad74be4b3578::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit04a97c75ff729507093aad74be4b3578::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitb69c7fa0bff34fe0f24889d62131edd3::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitb69c7fa0bff34fe0f24889d62131edd3::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitb69c7fa0bff34fe0f24889d62131edd3::$classMap;
}, null, ClassLoader::class);
}