mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
Updated Rector to commit 24d20f3f094c98db7320ef788a3d5b9cac96d3e8
24d20f3f09
Clean up comment tweak PHPStan refresh (#1987)
This commit is contained in:
parent
5c6eec2156
commit
627cd57ffc
@ -45,7 +45,6 @@ final class FileProcessor
|
||||
$stmtsAndTokens = $this->rectorParser->parseFileToStmtsAndTokens($smartFileInfo);
|
||||
$oldStmts = $stmtsAndTokens->getStmts();
|
||||
$oldTokens = $stmtsAndTokens->getTokens();
|
||||
// @todo may need tweak to refresh PHPStan types to avoid issue like in https://github.com/rectorphp/rector/issues/6561
|
||||
$newStmts = $this->nodeScopeAndMetadataDecorator->decorateNodesFromFile($file, $oldStmts);
|
||||
$file->hydrateStmtsAndTokens($newStmts, $oldStmts, $oldTokens);
|
||||
}
|
||||
|
@ -16,11 +16,11 @@ final class VersionResolver
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '3596755157b69fb2ce679100f8be8a137cb0e4f1';
|
||||
public const PACKAGE_VERSION = '24d20f3f094c98db7320ef788a3d5b9cac96d3e8';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2022-04-01 07:31:23';
|
||||
public const RELEASE_DATE = '2022-04-01 05:43:13';
|
||||
public static function resolvePackageVersion() : string
|
||||
{
|
||||
$process = new \RectorPrefix20220401\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__);
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit439e431a136d8973ff378b48332c16a8::getLoader();
|
||||
return ComposerAutoloaderInite27d4aaeae0cf1c799971adef504f4a8::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 ComposerAutoloaderInit439e431a136d8973ff378b48332c16a8
|
||||
class ComposerAutoloaderInite27d4aaeae0cf1c799971adef504f4a8
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,19 +22,19 @@ class ComposerAutoloaderInit439e431a136d8973ff378b48332c16a8
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit439e431a136d8973ff378b48332c16a8', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInite27d4aaeae0cf1c799971adef504f4a8', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit439e431a136d8973ff378b48332c16a8', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInite27d4aaeae0cf1c799971adef504f4a8', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
\Composer\Autoload\ComposerStaticInit439e431a136d8973ff378b48332c16a8::getInitializer($loader)();
|
||||
\Composer\Autoload\ComposerStaticInite27d4aaeae0cf1c799971adef504f4a8::getInitializer($loader)();
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInit439e431a136d8973ff378b48332c16a8::$files;
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInite27d4aaeae0cf1c799971adef504f4a8::$files;
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire439e431a136d8973ff378b48332c16a8($fileIdentifier, $file);
|
||||
composerRequiree27d4aaeae0cf1c799971adef504f4a8($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
@ -46,7 +46,7 @@ class ComposerAutoloaderInit439e431a136d8973ff378b48332c16a8
|
||||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequire439e431a136d8973ff378b48332c16a8($fileIdentifier, $file)
|
||||
function composerRequiree27d4aaeae0cf1c799971adef504f4a8($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 ComposerStaticInit439e431a136d8973ff378b48332c16a8
|
||||
class ComposerStaticInite27d4aaeae0cf1c799971adef504f4a8
|
||||
{
|
||||
public static $files = array (
|
||||
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
|
||||
@ -3841,9 +3841,9 @@ class ComposerStaticInit439e431a136d8973ff378b48332c16a8
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit439e431a136d8973ff378b48332c16a8::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit439e431a136d8973ff378b48332c16a8::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit439e431a136d8973ff378b48332c16a8::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInite27d4aaeae0cf1c799971adef504f4a8::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInite27d4aaeae0cf1c799971adef504f4a8::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInite27d4aaeae0cf1c799971adef504f4a8::$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('RectorPrefix20220401\AutoloadIncluder');
|
||||
}
|
||||
if (!class_exists('ComposerAutoloaderInit439e431a136d8973ff378b48332c16a8', false) && !interface_exists('ComposerAutoloaderInit439e431a136d8973ff378b48332c16a8', false) && !trait_exists('ComposerAutoloaderInit439e431a136d8973ff378b48332c16a8', false)) {
|
||||
spl_autoload_call('RectorPrefix20220401\ComposerAutoloaderInit439e431a136d8973ff378b48332c16a8');
|
||||
if (!class_exists('ComposerAutoloaderInite27d4aaeae0cf1c799971adef504f4a8', false) && !interface_exists('ComposerAutoloaderInite27d4aaeae0cf1c799971adef504f4a8', false) && !trait_exists('ComposerAutoloaderInite27d4aaeae0cf1c799971adef504f4a8', false)) {
|
||||
spl_autoload_call('RectorPrefix20220401\ComposerAutoloaderInite27d4aaeae0cf1c799971adef504f4a8');
|
||||
}
|
||||
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('RectorPrefix20220401\Helmich\TypoScriptParser\Parser\AST\Statement');
|
||||
@ -59,9 +59,9 @@ if (!function_exists('print_node')) {
|
||||
return \RectorPrefix20220401\print_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('composerRequire439e431a136d8973ff378b48332c16a8')) {
|
||||
function composerRequire439e431a136d8973ff378b48332c16a8() {
|
||||
return \RectorPrefix20220401\composerRequire439e431a136d8973ff378b48332c16a8(...func_get_args());
|
||||
if (!function_exists('composerRequiree27d4aaeae0cf1c799971adef504f4a8')) {
|
||||
function composerRequiree27d4aaeae0cf1c799971adef504f4a8() {
|
||||
return \RectorPrefix20220401\composerRequiree27d4aaeae0cf1c799971adef504f4a8(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('scanPath')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user