Skip to content

Commit

Permalink
Updated Rector to commit e3e51469627756e976a8b8afb718d77caad3a0c4
Browse files Browse the repository at this point in the history
rectorphp/rector-src@e3e5146 [CodingStyle] Handle inner closure on FuncGetArgsToVariadicParamRector (#3630)
  • Loading branch information
TomasVotruba committed Apr 19, 2023
1 parent 4980a45 commit 203f525
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ private function hasFunctionOrClosureInside($functionLike, Variable $variable) :
private function matchFuncGetArgsVariableAssign($functionLike) : ?Assign
{
/** @var Assign[] $assigns */
$assigns = $this->betterNodeFinder->findInstanceOf((array) $functionLike->stmts, Assign::class);
$assigns = $this->betterNodeFinder->findInstancesOfInFunctionLikeScoped($functionLike, Assign::class);
foreach ($assigns as $assign) {
if (!$assign->expr instanceof FuncCall) {
continue;
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 = '581fba01dfcc247be5dcec00903b72739b7eca6d';
public const PACKAGE_VERSION = 'e3e51469627756e976a8b8afb718d77caad3a0c4';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-04-19 09:08:15';
public const RELEASE_DATE = '2023-04-19 09:10:36';
/**
* @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 ComposerAutoloaderInit0fbb584a8ef45fbb4ccffbd83f0d6f7c::getLoader();
return ComposerAutoloaderInitbfb42ada5abb6e84d997dbeff733f1de::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 ComposerAutoloaderInit0fbb584a8ef45fbb4ccffbd83f0d6f7c
class ComposerAutoloaderInitbfb42ada5abb6e84d997dbeff733f1de
{
private static $loader;

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

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

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

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

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

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

0 comments on commit 203f525

Please sign in to comment.