diff --git a/bin/rector.php b/bin/rector.php index 1c7e58210cf..6bdfb7f9f76 100755 --- a/bin/rector.php +++ b/bin/rector.php @@ -93,7 +93,7 @@ final class AutoloadIncluder require_once $filePath; } } -\class_alias('RectorPrefix202501\\AutoloadIncluder', 'AutoloadIncluder', \false); +\class_alias('\\AutoloadIncluder', 'AutoloadIncluder', \false); if (\file_exists(__DIR__ . '/../preload.php') && \is_dir(__DIR__ . '/../vendor')) { require_once __DIR__ . '/../preload.php'; } diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 986840c655a..79f3ec4ff45 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 = 'c38a120d1193f8878fae85b0d96e88a1c644fd09'; + public const PACKAGE_VERSION = '3b42813953f335c8d2986c391629ce007ad06ea4'; /** * @api * @var string */ - public const RELEASE_DATE = '2025-01-06 16:13:37'; + public const RELEASE_DATE = '2025-01-06 16:18:51'; /** * @var int */ diff --git a/vendor/bin/php-parse b/vendor/bin/php-parse index fe24ea957c3..4dc4a5f5038 100755 --- a/vendor/bin/php-parse +++ b/vendor/bin/php-parse @@ -13,7 +13,7 @@ namespace RectorPrefix202501\Composer; $GLOBALS['_composer_bin_dir'] = __DIR__; $GLOBALS['_composer_autoload_path'] = __DIR__ . '/..' . '/autoload.php'; if (\PHP_VERSION_ID < 80000) { - if (!\class_exists('RectorPrefix202501\\Composer\\BinProxyWrapper')) { + if (!\class_exists('\\Composer\\BinProxyWrapper')) { /** * @internal */ @@ -87,7 +87,7 @@ if (\PHP_VERSION_ID < 80000) { } } } - if (\function_exists('stream_get_wrappers') && \in_array('phpvfscomposer', \stream_get_wrappers(), \true) || \function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', 'RectorPrefix202501\\Composer\\BinProxyWrapper')) { + if (\function_exists('stream_get_wrappers') && \in_array('phpvfscomposer', \stream_get_wrappers(), \true) || \function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', '\\Composer\\BinProxyWrapper')) { return include "phpvfscomposer://" . __DIR__ . '/..' . '/nikic/php-parser/bin/php-parse'; } } diff --git a/vendor/bin/yaml-lint b/vendor/bin/yaml-lint index b781496fe1c..dd4a2071388 100755 --- a/vendor/bin/yaml-lint +++ b/vendor/bin/yaml-lint @@ -13,7 +13,7 @@ namespace RectorPrefix202501\Composer; $GLOBALS['_composer_bin_dir'] = __DIR__; $GLOBALS['_composer_autoload_path'] = __DIR__ . '/..' . '/autoload.php'; if (\PHP_VERSION_ID < 80000) { - if (!\class_exists('RectorPrefix202501\\Composer\\BinProxyWrapper')) { + if (!\class_exists('\\Composer\\BinProxyWrapper')) { /** * @internal */ @@ -87,7 +87,7 @@ if (\PHP_VERSION_ID < 80000) { } } } - if (\function_exists('stream_get_wrappers') && \in_array('phpvfscomposer', \stream_get_wrappers(), \true) || \function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', 'RectorPrefix202501\\Composer\\BinProxyWrapper')) { + if (\function_exists('stream_get_wrappers') && \in_array('phpvfscomposer', \stream_get_wrappers(), \true) || \function_exists('stream_wrapper_register') && \stream_wrapper_register('phpvfscomposer', '\\Composer\\BinProxyWrapper')) { return include "phpvfscomposer://" . __DIR__ . '/..' . '/symfony/yaml/Resources/bin/yaml-lint'; } } diff --git a/vendor/composer/InstalledVersions.php b/vendor/composer/InstalledVersions.php index bb080a78c6c..840d5e5e87a 100644 --- a/vendor/composer/InstalledVersions.php +++ b/vendor/composer/InstalledVersions.php @@ -53,7 +53,7 @@ class InstalledVersions if (1 === \count($packages)) { return $packages[0]; } - return \array_keys(\array_flip(\call_user_func_array('RectorPrefix202501\\array_merge', $packages))); + return \array_keys(\array_flip(\call_user_func_array('\\array_merge', $packages))); } /** * Returns a list of all package names with a specific type e.g. 'library' @@ -277,7 +277,7 @@ class InstalledVersions private static function getInstalled() { if (null === self::$canGetVendors) { - self::$canGetVendors = \method_exists('RectorPrefix202501\\Composer\\Autoload\\ClassLoader', 'getRegisteredLoaders'); + self::$canGetVendors = \method_exists('\\Composer\\Autoload\\ClassLoader', 'getRegisteredLoaders'); } $installed = array(); $copiedLocalDir = \false; diff --git a/vendor/react/dns/src/Query/Query.php b/vendor/react/dns/src/Query/Query.php index 0778add45c4..c9a36cacfe8 100644 --- a/vendor/react/dns/src/Query/Query.php +++ b/vendor/react/dns/src/Query/Query.php @@ -50,7 +50,7 @@ final class Query { $class = $this->class !== Message::CLASS_IN ? 'CLASS' . $this->class . ' ' : ''; $type = 'TYPE' . $this->type; - $ref = new \ReflectionClass('RectorPrefix202501\\React\\Dns\\Model\\Message'); + $ref = new \ReflectionClass('\\React\\Dns\\Model\\Message'); foreach ($ref->getConstants() as $name => $value) { if ($value === $this->type && \strpos($name, 'TYPE_') === 0) { $type = \substr($name, 5); diff --git a/vendor/react/event-loop/src/ExtLibevLoop.php b/vendor/react/event-loop/src/ExtLibevLoop.php index 855914db63b..a272c20dbd0 100644 --- a/vendor/react/event-loop/src/ExtLibevLoop.php +++ b/vendor/react/event-loop/src/ExtLibevLoop.php @@ -37,7 +37,7 @@ final class ExtLibevLoop implements LoopInterface private $signalEvents = array(); public function __construct() { - if (!\class_exists('RectorPrefix202501\\libev\\EventLoop', \false)) { + if (!\class_exists('\\libev\\EventLoop', \false)) { throw new BadMethodCallException('Cannot create ExtLibevLoop, ext-libev extension missing'); } $this->loop = new EventLoop(); diff --git a/vendor/react/event-loop/src/Factory.php b/vendor/react/event-loop/src/Factory.php index 8a5e238aeef..85fd43b0705 100644 --- a/vendor/react/event-loop/src/Factory.php +++ b/vendor/react/event-loop/src/Factory.php @@ -48,7 +48,7 @@ final class Factory // only use ext-uv on PHP 7 return new ExtUvLoop(); } - if (\class_exists('RectorPrefix202501\\libev\\EventLoop', \false)) { + if (\class_exists('\\libev\\EventLoop', \false)) { return new ExtLibevLoop(); } if (\class_exists('EvLoop', \false)) { diff --git a/vendor/react/promise/src/functions_include.php b/vendor/react/promise/src/functions_include.php index 013c7bfcc43..4633cb39249 100644 --- a/vendor/react/promise/src/functions_include.php +++ b/vendor/react/promise/src/functions_include.php @@ -2,6 +2,6 @@ namespace RectorPrefix202501; -if (!\function_exists('RectorPrefix202501\\React\\Promise\\resolve')) { +if (!\function_exists('\\React\\Promise\\resolve')) { require __DIR__ . '/functions.php'; } diff --git a/vendor/symfony/deprecation-contracts/function.php b/vendor/symfony/deprecation-contracts/function.php index 5a53d459702..e90cf37ee9f 100644 --- a/vendor/symfony/deprecation-contracts/function.php +++ b/vendor/symfony/deprecation-contracts/function.php @@ -10,7 +10,7 @@ namespace RectorPrefix202501; * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -if (!\function_exists('RectorPrefix202501\\trigger_deprecation')) { +if (!\function_exists('\\trigger_deprecation')) { /** * Triggers a silenced deprecation notice. *