Updated Rector to commit ef021221858b602a9b39e0b8e403530d1671d453

ef02122185 Remove appendArgs() method on AbstractRector (#4732)
This commit is contained in:
Tomas Votruba 2023-08-09 12:45:29 +00:00
parent 80654c23af
commit fb2023e2bd
5 changed files with 12 additions and 25 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '8ae33c5f7ce2f1b27dd0a3100f8e9bdbb18a5361';
public const PACKAGE_VERSION = 'ef021221858b602a9b39e0b8e403530d1671d453';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-08-09 13:38:30';
public const RELEASE_DATE = '2023-08-09 12:41:52';
/**
* @var int
*/

View File

@ -4,7 +4,6 @@ declare (strict_types=1);
namespace Rector\Core\Rector;
use PhpParser\Node;
use PhpParser\Node\Arg;
use PhpParser\Node\Stmt;
use PhpParser\Node\Stmt\InlineHTML;
use PhpParser\Node\Stmt\Nop;
@ -290,18 +289,6 @@ CODE_SAMPLE;
$newNode->setAttribute(AttributeKey::COMMENTS, $oldNode->getAttribute(AttributeKey::COMMENTS));
}
}
/**
* @param Arg[] $currentArgs
* @param Arg[] $appendingArgs
* @return Arg[]
*/
protected function appendArgs(array $currentArgs, array $appendingArgs) : array
{
foreach ($appendingArgs as $appendingArg) {
$currentArgs[] = new Arg($appendingArg->value);
}
return $currentArgs;
}
/**
* @param \PhpParser\Node|mixed[]|int $refactoredNode
*/

2
vendor/autoload.php vendored
View File

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

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInite7528a1e8636efa5d0d7e0fd85e7f579
class ComposerAutoloaderInitb72f225a5e2b6d94cf642806da21c3db
{
private static $loader;
@ -22,17 +22,17 @@ class ComposerAutoloaderInite7528a1e8636efa5d0d7e0fd85e7f579
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInite7528a1e8636efa5d0d7e0fd85e7f579', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitb72f225a5e2b6d94cf642806da21c3db', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInite7528a1e8636efa5d0d7e0fd85e7f579', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitb72f225a5e2b6d94cf642806da21c3db', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInite7528a1e8636efa5d0d7e0fd85e7f579::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInitb72f225a5e2b6d94cf642806da21c3db::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInite7528a1e8636efa5d0d7e0fd85e7f579::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInitb72f225a5e2b6d94cf642806da21c3db::$files;
$requireFile = \Closure::bind(static function ($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 ComposerStaticInite7528a1e8636efa5d0d7e0fd85e7f579
class ComposerStaticInitb72f225a5e2b6d94cf642806da21c3db
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -3002,9 +3002,9 @@ class ComposerStaticInite7528a1e8636efa5d0d7e0fd85e7f579
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInite7528a1e8636efa5d0d7e0fd85e7f579::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInite7528a1e8636efa5d0d7e0fd85e7f579::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInite7528a1e8636efa5d0d7e0fd85e7f579::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitb72f225a5e2b6d94cf642806da21c3db::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitb72f225a5e2b6d94cf642806da21c3db::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitb72f225a5e2b6d94cf642806da21c3db::$classMap;
}, null, ClassLoader::class);
}