Updated Rector to commit a59e9cece6

a59e9cece6 Fix return type of FileInfoParser::parseFileInfoToNodesAndDecorate (#2344)
This commit is contained in:
Tomas Votruba 2022-05-22 07:24:14 +00:00
parent de0de9aad5
commit cb9cf8dc77
6 changed files with 21 additions and 21 deletions

View File

@ -3,7 +3,7 @@
declare (strict_types=1);
namespace Rector\FileSystemRector\Parser;
use PhpParser\Node;
use PhpParser\Node\Stmt;
use Rector\Core\PhpParser\NodeTraverser\FileWithoutNamespaceNodeTraverser;
use Rector\Core\PhpParser\Parser\RectorParser;
use Rector\Core\ValueObject\Application\File;
@ -33,7 +33,7 @@ final class FileInfoParser
$this->rectorParser = $rectorParser;
}
/**
* @return Node[]
* @return Stmt[]
*/
public function parseFileInfoToNodesAndDecorate(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo) : array
{

View File

@ -16,11 +16,11 @@ final class VersionResolver
/**
* @var string
*/
public const PACKAGE_VERSION = '08a35afeb1cd4ac464b7da9d73f0256b1b585537';
public const PACKAGE_VERSION = 'a59e9cece64b192b0e8b7701909cece3ef060bd8';
/**
* @var string
*/
public const RELEASE_DATE = '2022-05-22 09:12:04';
public const RELEASE_DATE = '2022-05-22 14:17:58';
/**
* @var string
*/

2
vendor/autoload.php vendored
View File

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

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit83822b67ea7e3e902d5c9b3a7237c532
class ComposerAutoloaderInit41a0090ab8291cbe163f7c1a52ea5722
{
private static $loader;
@ -22,19 +22,19 @@ class ComposerAutoloaderInit83822b67ea7e3e902d5c9b3a7237c532
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit83822b67ea7e3e902d5c9b3a7237c532', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit41a0090ab8291cbe163f7c1a52ea5722', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit83822b67ea7e3e902d5c9b3a7237c532', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit41a0090ab8291cbe163f7c1a52ea5722', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit83822b67ea7e3e902d5c9b3a7237c532::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit41a0090ab8291cbe163f7c1a52ea5722::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$includeFiles = \Composer\Autoload\ComposerStaticInit83822b67ea7e3e902d5c9b3a7237c532::$files;
$includeFiles = \Composer\Autoload\ComposerStaticInit41a0090ab8291cbe163f7c1a52ea5722::$files;
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire83822b67ea7e3e902d5c9b3a7237c532($fileIdentifier, $file);
composerRequire41a0090ab8291cbe163f7c1a52ea5722($fileIdentifier, $file);
}
return $loader;
@ -46,7 +46,7 @@ class ComposerAutoloaderInit83822b67ea7e3e902d5c9b3a7237c532
* @param string $file
* @return void
*/
function composerRequire83822b67ea7e3e902d5c9b3a7237c532($fileIdentifier, $file)
function composerRequire41a0090ab8291cbe163f7c1a52ea5722($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 ComposerStaticInit83822b67ea7e3e902d5c9b3a7237c532
class ComposerStaticInit41a0090ab8291cbe163f7c1a52ea5722
{
public static $files = array (
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
@ -3907,9 +3907,9 @@ class ComposerStaticInit83822b67ea7e3e902d5c9b3a7237c532
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit83822b67ea7e3e902d5c9b3a7237c532::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit83822b67ea7e3e902d5c9b3a7237c532::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit83822b67ea7e3e902d5c9b3a7237c532::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit41a0090ab8291cbe163f7c1a52ea5722::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit41a0090ab8291cbe163f7c1a52ea5722::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit41a0090ab8291cbe163f7c1a52ea5722::$classMap;
}, null, ClassLoader::class);
}

View File

@ -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('RectorPrefix20220522\AutoloadIncluder');
}
if (!class_exists('ComposerAutoloaderInit83822b67ea7e3e902d5c9b3a7237c532', false) && !interface_exists('ComposerAutoloaderInit83822b67ea7e3e902d5c9b3a7237c532', false) && !trait_exists('ComposerAutoloaderInit83822b67ea7e3e902d5c9b3a7237c532', false)) {
spl_autoload_call('RectorPrefix20220522\ComposerAutoloaderInit83822b67ea7e3e902d5c9b3a7237c532');
if (!class_exists('ComposerAutoloaderInit41a0090ab8291cbe163f7c1a52ea5722', false) && !interface_exists('ComposerAutoloaderInit41a0090ab8291cbe163f7c1a52ea5722', false) && !trait_exists('ComposerAutoloaderInit41a0090ab8291cbe163f7c1a52ea5722', false)) {
spl_autoload_call('RectorPrefix20220522\ComposerAutoloaderInit41a0090ab8291cbe163f7c1a52ea5722');
}
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('RectorPrefix20220522\Helmich\TypoScriptParser\Parser\AST\Statement');
@ -59,9 +59,9 @@ if (!function_exists('print_node')) {
return \RectorPrefix20220522\print_node(...func_get_args());
}
}
if (!function_exists('composerRequire83822b67ea7e3e902d5c9b3a7237c532')) {
function composerRequire83822b67ea7e3e902d5c9b3a7237c532() {
return \RectorPrefix20220522\composerRequire83822b67ea7e3e902d5c9b3a7237c532(...func_get_args());
if (!function_exists('composerRequire41a0090ab8291cbe163f7c1a52ea5722')) {
function composerRequire41a0090ab8291cbe163f7c1a52ea5722() {
return \RectorPrefix20220522\composerRequire41a0090ab8291cbe163f7c1a52ea5722(...func_get_args());
}
}
if (!function_exists('scanPath')) {