mirror of
https://github.com/rectorphp/rector.git
synced 2025-04-07 00:54:29 +02:00
Updated Rector to commit 416e52ad9e2164bc7d8e11518e3c0165862cb1b3
416e52ad9e
fix typo (#4956)
This commit is contained in:
parent
6adcb19ec9
commit
5ab2aa34fb
@ -115,11 +115,11 @@ CODE_SAMPLE
|
||||
return $classReflection->hasMethod($methodCallRename->getNewMethod());
|
||||
}
|
||||
/**
|
||||
* @param \PhpParser\Node\Stmt\Class_|\PhpParser\Node\Stmt\Interface_ $classOrInternace
|
||||
* @param \PhpParser\Node\Stmt\Class_|\PhpParser\Node\Stmt\Interface_ $classOrInterface
|
||||
*/
|
||||
private function hasClassNewClassMethod($classOrInternace, MethodCallRenameInterface $methodCallRename) : bool
|
||||
private function hasClassNewClassMethod($classOrInterface, MethodCallRenameInterface $methodCallRename) : bool
|
||||
{
|
||||
return (bool) $classOrInternace->getMethod($methodCallRename->getNewMethod());
|
||||
return (bool) $classOrInterface->getMethod($methodCallRename->getNewMethod());
|
||||
}
|
||||
private function shouldKeepForParentInterface(MethodCallRenameInterface $methodCallRename, ?ClassReflection $classReflection) : bool
|
||||
{
|
||||
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '474b3a222684b9c343ba6b43ea5bd39b78fbef2a';
|
||||
public const PACKAGE_VERSION = '416e52ad9e2164bc7d8e11518e3c0165862cb1b3';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2023-09-10 01:14:55';
|
||||
public const RELEASE_DATE = '2023-09-10 01:18:37';
|
||||
/**
|
||||
* @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 ComposerAutoloaderInit31466462ced114eb17fecf6cacaa533e::getLoader();
|
||||
return ComposerAutoloaderInit8ba6bdd54c92c5cd16d42c9d13029e01::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 ComposerAutoloaderInit31466462ced114eb17fecf6cacaa533e
|
||||
class ComposerAutoloaderInit8ba6bdd54c92c5cd16d42c9d13029e01
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,17 +22,17 @@ class ComposerAutoloaderInit31466462ced114eb17fecf6cacaa533e
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit31466462ced114eb17fecf6cacaa533e', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit8ba6bdd54c92c5cd16d42c9d13029e01', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit31466462ced114eb17fecf6cacaa533e', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit8ba6bdd54c92c5cd16d42c9d13029e01', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit31466462ced114eb17fecf6cacaa533e::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit8ba6bdd54c92c5cd16d42c9d13029e01::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit31466462ced114eb17fecf6cacaa533e::$files;
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit8ba6bdd54c92c5cd16d42c9d13029e01::$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 ComposerStaticInit31466462ced114eb17fecf6cacaa533e
|
||||
class ComposerStaticInit8ba6bdd54c92c5cd16d42c9d13029e01
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
@ -2599,9 +2599,9 @@ class ComposerStaticInit31466462ced114eb17fecf6cacaa533e
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit31466462ced114eb17fecf6cacaa533e::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit31466462ced114eb17fecf6cacaa533e::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit31466462ced114eb17fecf6cacaa533e::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit8ba6bdd54c92c5cd16d42c9d13029e01::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit8ba6bdd54c92c5cd16d42c9d13029e01::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit8ba6bdd54c92c5cd16d42c9d13029e01::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user