Skip to content

Commit

Permalink
Updated Rector to commit 05cc9af356d08f264c0faabd6a22149c1c06da89
Browse files Browse the repository at this point in the history
rectorphp/rector-src@05cc9af [CodingStyle] Skip concat on first arg on ConsistentImplodeRector (#3702)
  • Loading branch information
TomasVotruba committed May 2, 2023
1 parent 254ea14 commit dd229e0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ public function refactor(Node $node) : ?Node
/** @var Arg $arg0 */
$arg0 = $node->args[0];
$firstArgumentValue = $arg0->value;
if ($firstArgumentValue instanceof String_) {
$firstArgumentType = $this->getType($firstArgumentValue);
if ($firstArgumentType->isString()->yes()) {
return null;
}
if (\count($node->args) !== 2) {
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 = '495c51f3761807948b6af26c38aa0f4950f3f6f8';
public const PACKAGE_VERSION = '05cc9af356d08f264c0faabd6a22149c1c06da89';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-05-01 22:29:16';
public const RELEASE_DATE = '2023-05-02 08:56:52';
/**
* @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 ComposerAutoloaderInit018970c04589f103532e1ce079657334::getLoader();
return ComposerAutoloaderInit361eebc41de2eaf4f1c07032c00a0816::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 ComposerAutoloaderInit018970c04589f103532e1ce079657334
class ComposerAutoloaderInit361eebc41de2eaf4f1c07032c00a0816
{
private static $loader;

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

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

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

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

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

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

0 comments on commit dd229e0

Please sign in to comment.