Skip to content

Commit

Permalink
Updated Rector to commit a85997a277c3227652eb9b2a6571fd01d183a5a7
Browse files Browse the repository at this point in the history
rectorphp/rector-src@a85997a Faster AddParamBasedOnParentClassMethodRector (#4805)
  • Loading branch information
TomasVotruba committed Aug 17, 2023
1 parent 7e217a5 commit 2666697
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@ public function refactor(Node $node) : ?Node
if (!$parentMethodReflection instanceof MethodReflection) {
return null;
}
$parentClassMethod = $this->astResolver->resolveClassMethodFromMethodReflection($parentMethodReflection);
if (!$parentClassMethod instanceof ClassMethod) {
if ($parentMethodReflection->isPrivate()) {
return null;
}
if ($parentClassMethod->isPrivate()) {
$parentClassMethod = $this->astResolver->resolveClassMethodFromMethodReflection($parentMethodReflection);
if (!$parentClassMethod instanceof ClassMethod) {
return null;
}
$currentClassMethodParams = $node->getParams();
Expand Down
4 changes: 2 additions & 2 deletions src/Application/VersionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '2604a47c32dd8606349a1724122977c8b2fa6bf9';
public const PACKAGE_VERSION = 'a85997a277c3227652eb9b2a6571fd01d183a5a7';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-08-17 16:00:02';
public const RELEASE_DATE = '2023-08-17 16:03:24';
/**
* @var int
*/
Expand Down
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@

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

return ComposerAutoloaderInit114602c24adaa04bde1454b34b25e313::getLoader();
return ComposerAutoloaderInitbd9f56262858f299cb0d4dcd277850c4::getLoader();
10 changes: 5 additions & 5 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 ComposerAutoloaderInit114602c24adaa04bde1454b34b25e313
class ComposerAutoloaderInitbd9f56262858f299cb0d4dcd277850c4
{
private static $loader;

Expand All @@ -22,17 +22,17 @@ public static function getLoader()
return self::$loader;
}

spl_autoload_register(array('ComposerAutoloaderInit114602c24adaa04bde1454b34b25e313', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitbd9f56262858f299cb0d4dcd277850c4', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit114602c24adaa04bde1454b34b25e313', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitbd9f56262858f299cb0d4dcd277850c4', 'loadClassLoader'));

require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit114602c24adaa04bde1454b34b25e313::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInitbd9f56262858f299cb0d4dcd277850c4::getInitializer($loader));

$loader->setClassMapAuthoritative(true);
$loader->register(true);

$filesToLoad = \Composer\Autoload\ComposerStaticInit114602c24adaa04bde1454b34b25e313::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInitbd9f56262858f299cb0d4dcd277850c4::$files;
$requireFile = \Closure::bind(static function ($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 ComposerStaticInit114602c24adaa04bde1454b34b25e313
class ComposerStaticInitbd9f56262858f299cb0d4dcd277850c4
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
Expand Down Expand Up @@ -2637,9 +2637,9 @@ class ComposerStaticInit114602c24adaa04bde1454b34b25e313
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit114602c24adaa04bde1454b34b25e313::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit114602c24adaa04bde1454b34b25e313::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit114602c24adaa04bde1454b34b25e313::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitbd9f56262858f299cb0d4dcd277850c4::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitbd9f56262858f299cb0d4dcd277850c4::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitbd9f56262858f299cb0d4dcd277850c4::$classMap;

}, null, ClassLoader::class);
}
Expand Down

0 comments on commit 2666697

Please sign in to comment.