Skip to content

Commit dd229e0

Browse files
committed
Updated Rector to commit 05cc9af356d08f264c0faabd6a22149c1c06da89
rectorphp/rector-src@05cc9af [CodingStyle] Skip concat on first arg on ConsistentImplodeRector (#3702)
1 parent 254ea14 commit dd229e0

File tree

5 files changed

+14
-13
lines changed

5 files changed

+14
-13
lines changed

rules/CodingStyle/Rector/FuncCall/ConsistentImplodeRector.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ public function refactor(Node $node) : ?Node
8989
/** @var Arg $arg0 */
9090
$arg0 = $node->args[0];
9191
$firstArgumentValue = $arg0->value;
92-
if ($firstArgumentValue instanceof String_) {
92+
$firstArgumentType = $this->getType($firstArgumentValue);
93+
if ($firstArgumentType->isString()->yes()) {
9394
return null;
9495
}
9596
if (\count($node->args) !== 2) {

src/Application/VersionResolver.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ final class VersionResolver
1919
* @api
2020
* @var string
2121
*/
22-
public const PACKAGE_VERSION = '495c51f3761807948b6af26c38aa0f4950f3f6f8';
22+
public const PACKAGE_VERSION = '05cc9af356d08f264c0faabd6a22149c1c06da89';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2023-05-01 22:29:16';
27+
public const RELEASE_DATE = '2023-05-02 08:56:52';
2828
/**
2929
* @var int
3030
*/

vendor/autoload.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222

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

25-
return ComposerAutoloaderInit018970c04589f103532e1ce079657334::getLoader();
25+
return ComposerAutoloaderInit361eebc41de2eaf4f1c07032c00a0816::getLoader();

vendor/composer/autoload_real.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_real.php @generated by Composer
44

5-
class ComposerAutoloaderInit018970c04589f103532e1ce079657334
5+
class ComposerAutoloaderInit361eebc41de2eaf4f1c07032c00a0816
66
{
77
private static $loader;
88

@@ -22,17 +22,17 @@ public static function getLoader()
2222
return self::$loader;
2323
}
2424

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

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

3232
$loader->setClassMapAuthoritative(true);
3333
$loader->register(true);
3434

35-
$filesToLoad = \Composer\Autoload\ComposerStaticInit018970c04589f103532e1ce079657334::$files;
35+
$filesToLoad = \Composer\Autoload\ComposerStaticInit361eebc41de2eaf4f1c07032c00a0816::$files;
3636
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
3737
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
3838
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

vendor/composer/autoload_static.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Composer\Autoload;
66

7-
class ComposerStaticInit018970c04589f103532e1ce079657334
7+
class ComposerStaticInit361eebc41de2eaf4f1c07032c00a0816
88
{
99
public static $files = array (
1010
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@@ -3152,9 +3152,9 @@ class ComposerStaticInit018970c04589f103532e1ce079657334
31523152
public static function getInitializer(ClassLoader $loader)
31533153
{
31543154
return \Closure::bind(function () use ($loader) {
3155-
$loader->prefixLengthsPsr4 = ComposerStaticInit018970c04589f103532e1ce079657334::$prefixLengthsPsr4;
3156-
$loader->prefixDirsPsr4 = ComposerStaticInit018970c04589f103532e1ce079657334::$prefixDirsPsr4;
3157-
$loader->classMap = ComposerStaticInit018970c04589f103532e1ce079657334::$classMap;
3155+
$loader->prefixLengthsPsr4 = ComposerStaticInit361eebc41de2eaf4f1c07032c00a0816::$prefixLengthsPsr4;
3156+
$loader->prefixDirsPsr4 = ComposerStaticInit361eebc41de2eaf4f1c07032c00a0816::$prefixDirsPsr4;
3157+
$loader->classMap = ComposerStaticInit361eebc41de2eaf4f1c07032c00a0816::$classMap;
31583158

31593159
}, null, ClassLoader::class);
31603160
}

0 commit comments

Comments
 (0)