diff --git a/rules/Php55/Rector/String_/StringClassNameToClassConstantRector.php b/rules/Php55/Rector/String_/StringClassNameToClassConstantRector.php index 2cfacc24e89..5cf78f6e558 100644 --- a/rules/Php55/Rector/String_/StringClassNameToClassConstantRector.php +++ b/rules/Php55/Rector/String_/StringClassNameToClassConstantRector.php @@ -116,14 +116,13 @@ CODE_SAMPLE return null; } $fullyQualified = new FullyQualified($classLikeName); - $fullyQualifiedOrAliasName = new FullyQualified($fullyQualified); if ($classLikeName !== $node->value) { $preSlashCount = \strlen($node->value) - \strlen($classLikeName); $preSlash = \str_repeat('\\', $preSlashCount); $string = new String_($preSlash); - return new Concat($string, new ClassConstFetch($fullyQualifiedOrAliasName, 'class')); + return new Concat($string, new ClassConstFetch($fullyQualified, 'class')); } - return new ClassConstFetch($fullyQualifiedOrAliasName, 'class'); + return new ClassConstFetch($fullyQualified, 'class'); } /** * @param mixed[] $configuration diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 081840214a9..e6187dc96ea 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -19,12 +19,12 @@ final class VersionResolver * @api * @var string */ - public const PACKAGE_VERSION = '4b05faa06d30e8d3f47fb3c3b37dad8548ae5230'; + public const PACKAGE_VERSION = 'd9f02cadebe0cb3b9ec43be05e000805f31bcb18'; /** * @api * @var string */ - public const RELEASE_DATE = '2023-06-19 14:13:13'; + public const RELEASE_DATE = '2023-06-19 15:29:14'; /** * @var int */ diff --git a/vendor/autoload.php b/vendor/autoload.php index f89d4b55282..c8e6e1e938d 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) { require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit518d55c851bd13c63ac6bb97331b72a2::getLoader(); +return ComposerAutoloaderInitfb519dab578b29f1a5f5109ca0a58388::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 4f1a1e29f8c..df29fc7ef81 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit518d55c851bd13c63ac6bb97331b72a2 +class ComposerAutoloaderInitfb519dab578b29f1a5f5109ca0a58388 { private static $loader; @@ -22,17 +22,17 @@ class ComposerAutoloaderInit518d55c851bd13c63ac6bb97331b72a2 return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit518d55c851bd13c63ac6bb97331b72a2', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInitfb519dab578b29f1a5f5109ca0a58388', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInit518d55c851bd13c63ac6bb97331b72a2', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInitfb519dab578b29f1a5f5109ca0a58388', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit518d55c851bd13c63ac6bb97331b72a2::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInitfb519dab578b29f1a5f5109ca0a58388::getInitializer($loader)); $loader->setClassMapAuthoritative(true); $loader->register(true); - $filesToLoad = \Composer\Autoload\ComposerStaticInit518d55c851bd13c63ac6bb97331b72a2::$files; + $filesToLoad = \Composer\Autoload\ComposerStaticInitfb519dab578b29f1a5f5109ca0a58388::$files; $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 69c763c9828..fd13b82aaab 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit518d55c851bd13c63ac6bb97331b72a2 +class ComposerStaticInitfb519dab578b29f1a5f5109ca0a58388 { public static $files = array ( 'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php', @@ -3095,9 +3095,9 @@ class ComposerStaticInit518d55c851bd13c63ac6bb97331b72a2 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit518d55c851bd13c63ac6bb97331b72a2::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit518d55c851bd13c63ac6bb97331b72a2::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit518d55c851bd13c63ac6bb97331b72a2::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInitfb519dab578b29f1a5f5109ca0a58388::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInitfb519dab578b29f1a5f5109ca0a58388::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInitfb519dab578b29f1a5f5109ca0a58388::$classMap; }, null, ClassLoader::class); }