mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
Updated Rector to commit a494d7c4f634553f490da4a689c06cfc903d6bb9
a494d7c4f6
Clean up downgrade php path in configs (#2731)
This commit is contained in:
parent
502082ac85
commit
aba621c9e4
@ -83,7 +83,7 @@ return static function (RectorConfig $rectorConfig) : void {
|
||||
]);
|
||||
// psr-4
|
||||
$services->alias(PSR4AutoloadNamespaceMatcherInterface::class, PSR4NamespaceMatcher::class);
|
||||
$services->load('Rector\\', __DIR__ . '/../rules')->exclude([__DIR__ . '/../rules/*/ValueObject/*', __DIR__ . '/../rules/*/Rector/*', __DIR__ . '/../rules/*/Contract/*', __DIR__ . '/../rules/*/Exception/*', __DIR__ . '/../rules/*/Enum/*', __DIR__ . '/../rules/DowngradePhp80/Reflection/SimplePhpParameterReflection.php']);
|
||||
$services->load('Rector\\', __DIR__ . '/../rules')->exclude([__DIR__ . '/../rules/*/ValueObject/*', __DIR__ . '/../rules/*/Rector/*', __DIR__ . '/../rules/*/Contract/*', __DIR__ . '/../rules/*/Exception/*', __DIR__ . '/../rules/*/Enum/*']);
|
||||
// parallel
|
||||
$services->set(ParametersMerger::class);
|
||||
// use faster in-memory cache in CI.
|
||||
|
@ -17,12 +17,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = 'b98dc27704c64122750d3bbae3731cb820ae8c11';
|
||||
public const PACKAGE_VERSION = 'a494d7c4f634553f490da4a689c06cfc903d6bb9';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2022-08-04 19:02:26';
|
||||
public const RELEASE_DATE = '2022-08-04 14:24:30';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit9396c4dcd694bbf0466b74cb1a1376d2::getLoader();
|
||||
return ComposerAutoloaderInita92782b11ed639fd6cf425a8acce39e4::getLoader();
|
||||
|
14
vendor/composer/autoload_real.php
vendored
14
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInit9396c4dcd694bbf0466b74cb1a1376d2
|
||||
class ComposerAutoloaderInita92782b11ed639fd6cf425a8acce39e4
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,19 +22,19 @@ class ComposerAutoloaderInit9396c4dcd694bbf0466b74cb1a1376d2
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit9396c4dcd694bbf0466b74cb1a1376d2', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInita92782b11ed639fd6cf425a8acce39e4', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit9396c4dcd694bbf0466b74cb1a1376d2', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInita92782b11ed639fd6cf425a8acce39e4', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit9396c4dcd694bbf0466b74cb1a1376d2::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInita92782b11ed639fd6cf425a8acce39e4::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInit9396c4dcd694bbf0466b74cb1a1376d2::$files;
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInita92782b11ed639fd6cf425a8acce39e4::$files;
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire9396c4dcd694bbf0466b74cb1a1376d2($fileIdentifier, $file);
|
||||
composerRequirea92782b11ed639fd6cf425a8acce39e4($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
@ -46,7 +46,7 @@ class ComposerAutoloaderInit9396c4dcd694bbf0466b74cb1a1376d2
|
||||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequire9396c4dcd694bbf0466b74cb1a1376d2($fileIdentifier, $file)
|
||||
function composerRequirea92782b11ed639fd6cf425a8acce39e4($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInit9396c4dcd694bbf0466b74cb1a1376d2
|
||||
class ComposerStaticInita92782b11ed639fd6cf425a8acce39e4
|
||||
{
|
||||
public static $files = array (
|
||||
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
||||
@ -3407,9 +3407,9 @@ class ComposerStaticInit9396c4dcd694bbf0466b74cb1a1376d2
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit9396c4dcd694bbf0466b74cb1a1376d2::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit9396c4dcd694bbf0466b74cb1a1376d2::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit9396c4dcd694bbf0466b74cb1a1376d2::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInita92782b11ed639fd6cf425a8acce39e4::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInita92782b11ed639fd6cf425a8acce39e4::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInita92782b11ed639fd6cf425a8acce39e4::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user