Updated Rector to commit 49fda93e9028c5800057d20a45ecc1ec38fab5cc

49fda93e90 Remove src/constants.php for T_ENUM and T_NAME_RELATIVE (#5143)
This commit is contained in:
Tomas Votruba 2023-10-08 08:15:45 +00:00
parent 1eb3a7a3a9
commit db98d35ea7
5 changed files with 2 additions and 18 deletions

View File

@ -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();

View File

@ -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
*/

View File

@ -1,13 +0,0 @@
<?php
declare (strict_types=1);
namespace RectorPrefix202310;
// mimic missing T_ENUM constant on PHP 8.0-
if (!\defined('T_ENUM')) {
\define('T_ENUM', 5000);
}
// mimic missing T_NAME_RELATIVE constant on PHP 8.0-
if (!\defined('T_NAME_RELATIVE')) {
\define('T_NAME_RELATIVE', 5001);
}

View File

@ -8,6 +8,5 @@ $baseDir = dirname($vendorDir);
return array(
'ad155f8f1cf0d418fe49e248db8c661b' => $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',
);

View File

@ -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',
);