Skip to content

Commit

Permalink
Updated Rector to commit a59e9ce
Browse files Browse the repository at this point in the history
rectorphp/rector-src@a59e9ce Fix return type of FileInfoParser::parseFileInfoToNodesAndDecorate (#2344)
  • Loading branch information
TomasVotruba committed May 22, 2022
1 parent de0de9a commit cb9cf8d
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions packages/FileSystemRector/Parser/FileInfoParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -33,7 +33,7 @@ public function __construct(\Rector\NodeTypeResolver\NodeScopeAndMetadataDecorat
$this->rectorParser = $rectorParser;
}
/**
* @return Node[]
* @return Stmt[]
*/
public function parseFileInfoToNodesAndDecorate(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo) : array
{
Expand Down
4 changes: 2 additions & 2 deletions src/Application/VersionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit83822b67ea7e3e902d5c9b3a7237c532::getLoader();
return ComposerAutoloaderInit41a0090ab8291cbe163f7c1a52ea5722::getLoader();
14 changes: 7 additions & 7 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit83822b67ea7e3e902d5c9b3a7237c532
class ComposerAutoloaderInit41a0090ab8291cbe163f7c1a52ea5722
{
private static $loader;

Expand All @@ -22,19 +22,19 @@ public static function getLoader()
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;
Expand All @@ -46,7 +46,7 @@ public static function getLoader()
* @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;
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInit83822b67ea7e3e902d5c9b3a7237c532
class ComposerStaticInit41a0090ab8291cbe163f7c1a52ea5722
{
public static $files = array (
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
Expand Down Expand Up @@ -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);
}
Expand Down
10 changes: 5 additions & 5 deletions vendor/scoper-autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
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');
Expand Down Expand Up @@ -59,9 +59,9 @@ function 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')) {
Expand Down

0 comments on commit cb9cf8d

Please sign in to comment.