mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 06:18:07 +01:00
Updated Rector to commit 7a3a2dc12bb2bc75a04643198c9eeaad84516030
7a3a2dc12b
Add Symfony's bootstrap80 files to the list for namespace removal (#537)
This commit is contained in:
parent
e5958f326a
commit
70059f5751
@ -16,11 +16,11 @@ final class VersionResolver
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '4be1f2aee76f877575465e4234054e60db24944a';
|
||||
public const PACKAGE_VERSION = '7a3a2dc12bb2bc75a04643198c9eeaad84516030';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2021-07-29 11:56:43';
|
||||
public const RELEASE_DATE = '2021-07-29 16:17:56';
|
||||
public static function resolvePackageVersion() : string
|
||||
{
|
||||
$process = new \RectorPrefix20210729\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__);
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit3996bdffc40725c5d7c283d383d6c8c2::getLoader();
|
||||
return ComposerAutoloaderInitf1abf080ec27783ea413c1ccb3540355::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 ComposerAutoloaderInit3996bdffc40725c5d7c283d383d6c8c2
|
||||
class ComposerAutoloaderInitf1abf080ec27783ea413c1ccb3540355
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,15 +22,15 @@ class ComposerAutoloaderInit3996bdffc40725c5d7c283d383d6c8c2
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit3996bdffc40725c5d7c283d383d6c8c2', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInitf1abf080ec27783ea413c1ccb3540355', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit3996bdffc40725c5d7c283d383d6c8c2', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitf1abf080ec27783ea413c1ccb3540355', 'loadClassLoader'));
|
||||
|
||||
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
||||
if ($useStaticLoader) {
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit3996bdffc40725c5d7c283d383d6c8c2::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitf1abf080ec27783ea413c1ccb3540355::getInitializer($loader));
|
||||
} else {
|
||||
$classMap = require __DIR__ . '/autoload_classmap.php';
|
||||
if ($classMap) {
|
||||
@ -42,19 +42,19 @@ class ComposerAutoloaderInit3996bdffc40725c5d7c283d383d6c8c2
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit3996bdffc40725c5d7c283d383d6c8c2::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInitf1abf080ec27783ea413c1ccb3540355::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire3996bdffc40725c5d7c283d383d6c8c2($fileIdentifier, $file);
|
||||
composerRequiref1abf080ec27783ea413c1ccb3540355($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
}
|
||||
|
||||
function composerRequire3996bdffc40725c5d7c283d383d6c8c2($fileIdentifier, $file)
|
||||
function composerRequiref1abf080ec27783ea413c1ccb3540355($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
require $file;
|
||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInit3996bdffc40725c5d7c283d383d6c8c2
|
||||
class ComposerStaticInitf1abf080ec27783ea413c1ccb3540355
|
||||
{
|
||||
public static $files = array (
|
||||
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
|
||||
@ -3852,9 +3852,9 @@ class ComposerStaticInit3996bdffc40725c5d7c283d383d6c8c2
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit3996bdffc40725c5d7c283d383d6c8c2::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit3996bdffc40725c5d7c283d383d6c8c2::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit3996bdffc40725c5d7c283d383d6c8c2::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitf1abf080ec27783ea413c1ccb3540355::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitf1abf080ec27783ea413c1ccb3540355::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitf1abf080ec27783ea413c1ccb3540355::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
2
vendor/composer/installed.json
vendored
2
vendor/composer/installed.json
vendored
@ -851,7 +851,7 @@
|
||||
"conflict": {
|
||||
"phpstan\/phpstan-shim": "*"
|
||||
},
|
||||
"time": "2021-07-26T15:16:23+00:00",
|
||||
"time": "2021-07-29T14:17:31+00:00",
|
||||
"default-branch": true,
|
||||
"bin": [
|
||||
"phpstan",
|
||||
|
10
vendor/scoper-autoload.php
vendored
10
vendor/scoper-autoload.php
vendored
@ -9,8 +9,8 @@ $loader = require_once __DIR__.'/autoload.php';
|
||||
if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) {
|
||||
spl_autoload_call('RectorPrefix20210729\AutoloadIncluder');
|
||||
}
|
||||
if (!class_exists('ComposerAutoloaderInit3996bdffc40725c5d7c283d383d6c8c2', false) && !interface_exists('ComposerAutoloaderInit3996bdffc40725c5d7c283d383d6c8c2', false) && !trait_exists('ComposerAutoloaderInit3996bdffc40725c5d7c283d383d6c8c2', false)) {
|
||||
spl_autoload_call('RectorPrefix20210729\ComposerAutoloaderInit3996bdffc40725c5d7c283d383d6c8c2');
|
||||
if (!class_exists('ComposerAutoloaderInitf1abf080ec27783ea413c1ccb3540355', false) && !interface_exists('ComposerAutoloaderInitf1abf080ec27783ea413c1ccb3540355', false) && !trait_exists('ComposerAutoloaderInitf1abf080ec27783ea413c1ccb3540355', false)) {
|
||||
spl_autoload_call('RectorPrefix20210729\ComposerAutoloaderInitf1abf080ec27783ea413c1ccb3540355');
|
||||
}
|
||||
if (!class_exists('Doctrine\Inflector\Inflector', false) && !interface_exists('Doctrine\Inflector\Inflector', false) && !trait_exists('Doctrine\Inflector\Inflector', false)) {
|
||||
spl_autoload_call('RectorPrefix20210729\Doctrine\Inflector\Inflector');
|
||||
@ -3308,9 +3308,9 @@ if (!function_exists('print_node')) {
|
||||
return \RectorPrefix20210729\print_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('composerRequire3996bdffc40725c5d7c283d383d6c8c2')) {
|
||||
function composerRequire3996bdffc40725c5d7c283d383d6c8c2() {
|
||||
return \RectorPrefix20210729\composerRequire3996bdffc40725c5d7c283d383d6c8c2(...func_get_args());
|
||||
if (!function_exists('composerRequiref1abf080ec27783ea413c1ccb3540355')) {
|
||||
function composerRequiref1abf080ec27783ea413c1ccb3540355() {
|
||||
return \RectorPrefix20210729\composerRequiref1abf080ec27783ea413c1ccb3540355(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('parseArgs')) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace RectorPrefix20210729;
|
||||
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace RectorPrefix20210729;
|
||||
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace RectorPrefix20210729;
|
||||
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace RectorPrefix20210729;
|
||||
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
|
Loading…
x
Reference in New Issue
Block a user