mirror of
https://github.com/rectorphp/rector.git
synced 2024-09-01 05:10:14 +00:00
Updated Rector to commit b999639103204532273571a43e9a9d1b19ea4ff2
b999639103
Added RenameClassNonPhpRector dependency to ClassRenamingPostRector (#3360)
This commit is contained in:
parent
63b8be39f7
commit
3b73a69c61
@ -6,6 +6,7 @@ namespace Rector\PostRector\Rector;
|
||||
use PhpParser\Node;
|
||||
use Rector\Core\Configuration\RenamedClassesDataCollector;
|
||||
use Rector\Core\Contract\Rector\RectorInterface;
|
||||
use Rector\Core\NonPhpFile\Rector\RenameClassNonPhpRector;
|
||||
use Rector\PostRector\Contract\Rector\PostRectorDependencyInterface;
|
||||
use Rector\Renaming\NodeManipulator\ClassRenamer;
|
||||
use Rector\Renaming\Rector\Name\RenameClassRector;
|
||||
@ -38,7 +39,7 @@ final class ClassRenamingPostRector extends \Rector\PostRector\Rector\AbstractPo
|
||||
*/
|
||||
public function getRectorDependencies() : array
|
||||
{
|
||||
return [RenameClassRector::class];
|
||||
return [RenameClassRector::class, RenameClassNonPhpRector::class];
|
||||
}
|
||||
public function enterNode(Node $node) : ?Node
|
||||
{
|
||||
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '7f1f57acc358e4c7724b146f3a9d976bae4cb0c9';
|
||||
public const PACKAGE_VERSION = 'b999639103204532273571a43e9a9d1b19ea4ff2';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2023-02-07 23:03:27';
|
||||
public const RELEASE_DATE = '2023-02-08 09:12:42';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
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 ComposerAutoloaderInit1f1b971e94c546761967f82a2dcd2c36::getLoader();
|
||||
return ComposerAutoloaderInite8ed5ec3e72a8475b38336ca410a2b43::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 ComposerAutoloaderInit1f1b971e94c546761967f82a2dcd2c36
|
||||
class ComposerAutoloaderInite8ed5ec3e72a8475b38336ca410a2b43
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,17 +22,17 @@ class ComposerAutoloaderInit1f1b971e94c546761967f82a2dcd2c36
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit1f1b971e94c546761967f82a2dcd2c36', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInite8ed5ec3e72a8475b38336ca410a2b43', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit1f1b971e94c546761967f82a2dcd2c36', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInite8ed5ec3e72a8475b38336ca410a2b43', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit1f1b971e94c546761967f82a2dcd2c36::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInite8ed5ec3e72a8475b38336ca410a2b43::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit1f1b971e94c546761967f82a2dcd2c36::$files;
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInite8ed5ec3e72a8475b38336ca410a2b43::$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 ComposerStaticInit1f1b971e94c546761967f82a2dcd2c36
|
||||
class ComposerStaticInite8ed5ec3e72a8475b38336ca410a2b43
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
@ -3097,9 +3097,9 @@ class ComposerStaticInit1f1b971e94c546761967f82a2dcd2c36
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit1f1b971e94c546761967f82a2dcd2c36::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit1f1b971e94c546761967f82a2dcd2c36::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit1f1b971e94c546761967f82a2dcd2c36::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInite8ed5ec3e72a8475b38336ca410a2b43::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInite8ed5ec3e72a8475b38336ca410a2b43::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInite8ed5ec3e72a8475b38336ca410a2b43::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user