From db98d35ea7afd3c67351a1315db02d78e8c7dbf7 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Sun, 8 Oct 2023 08:15:45 +0000 Subject: [PATCH] Updated Rector to commit 49fda93e9028c5800057d20a45ecc1ec38fab5cc https://github.com/rectorphp/rector-src/commit/49fda93e9028c5800057d20a45ecc1ec38fab5cc Remove src/constants.php for T_ENUM and T_NAME_RELATIVE (#5143) --- bin/rector.php | 1 - src/Application/VersionResolver.php | 4 ++-- src/constants.php | 13 ------------- vendor/composer/autoload_files.php | 1 - vendor/composer/autoload_static.php | 1 - 5 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 src/constants.php diff --git a/bin/rector.php b/bin/rector.php index a19aaf90729..df68768006f 100755 --- a/bin/rector.php +++ b/bin/rector.php @@ -100,7 +100,6 @@ if (\file_exists(__DIR__ . '/../preload.php') && \is_dir(__DIR__ . '/../vendor') if (\file_exists(__DIR__ . '/../preload-split-package.php') && \is_dir(__DIR__ . '/../../../../vendor')) { require_once __DIR__ . '/../preload-split-package.php'; } -require_once __DIR__ . '/../src/constants.php'; $autoloadIncluder->loadIfExistsAndNotLoadedYet(__DIR__ . '/../vendor/scoper-autoload.php'); $autoloadIncluder->autoloadProjectAutoloaderFile(); $autoloadIncluder->autoloadRectorInstalledAsGlobalDependency(); diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index b90746712fa..3517d020241 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 = '4d56a61025597b598a1287f76f475bb6e8f1766f'; + public const PACKAGE_VERSION = '49fda93e9028c5800057d20a45ecc1ec38fab5cc'; /** * @api * @var string */ - public const RELEASE_DATE = '2023-10-08 10:14:26'; + public const RELEASE_DATE = '2023-10-08 10:12:30'; /** * @var int */ diff --git a/src/constants.php b/src/constants.php deleted file mode 100644 index 1fccac15f98..00000000000 --- a/src/constants.php +++ /dev/null @@ -1,13 +0,0 @@ - $vendorDir . '/react/promise/src/functions_include.php', '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php', - '4508688f3cab21375725e8d11ca194a2' => $baseDir . '/src/constants.php', '30bca7fff093e8069bed7c55247e2bf8' => $baseDir . '/src/functions/node_helper.php', ); diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 3f7ba2fad78..2f1f5cd3289 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -9,7 +9,6 @@ class ComposerStaticInit46a0b0ac2ea1371bb06be09a20f71c2b public static $files = array ( 'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php', '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', - '4508688f3cab21375725e8d11ca194a2' => __DIR__ . '/../..' . '/src/constants.php', '30bca7fff093e8069bed7c55247e2bf8' => __DIR__ . '/../..' . '/src/functions/node_helper.php', );