mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-31 04:32:31 +01:00
Updated Rector to commit bdfeabd7dbe9cd7e1da599ff8a5fc62df327306e
bdfeabd7db
[PSR4] Fix PHPUnit run test error on FileWithoutNamespaceTest (#445)
This commit is contained in:
parent
e71a1c12e1
commit
758dd7d904
@ -16,11 +16,11 @@ final class VersionResolver
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = 'b001e388ccfb37f8af1f4873c63212a0155f642a';
|
||||
public const PACKAGE_VERSION = 'bdfeabd7dbe9cd7e1da599ff8a5fc62df327306e';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2021-07-16 08:59:37';
|
||||
public const RELEASE_DATE = '2021-07-16 12:22:11';
|
||||
public static function resolvePackageVersion() : string
|
||||
{
|
||||
$process = new \RectorPrefix20210716\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 ComposerAutoloaderInitad318f92113d53391e5ede7bc1612b22::getLoader();
|
||||
return ComposerAutoloaderInita05c5c8b7f13261cb63f78c456314235::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 ComposerAutoloaderInitad318f92113d53391e5ede7bc1612b22
|
||||
class ComposerAutoloaderInita05c5c8b7f13261cb63f78c456314235
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,15 +22,15 @@ class ComposerAutoloaderInitad318f92113d53391e5ede7bc1612b22
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInitad318f92113d53391e5ede7bc1612b22', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInita05c5c8b7f13261cb63f78c456314235', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitad318f92113d53391e5ede7bc1612b22', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInita05c5c8b7f13261cb63f78c456314235', '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\ComposerStaticInitad318f92113d53391e5ede7bc1612b22::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInita05c5c8b7f13261cb63f78c456314235::getInitializer($loader));
|
||||
} else {
|
||||
$classMap = require __DIR__ . '/autoload_classmap.php';
|
||||
if ($classMap) {
|
||||
@ -42,19 +42,19 @@ class ComposerAutoloaderInitad318f92113d53391e5ede7bc1612b22
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInitad318f92113d53391e5ede7bc1612b22::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInita05c5c8b7f13261cb63f78c456314235::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequiread318f92113d53391e5ede7bc1612b22($fileIdentifier, $file);
|
||||
composerRequirea05c5c8b7f13261cb63f78c456314235($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
}
|
||||
|
||||
function composerRequiread318f92113d53391e5ede7bc1612b22($fileIdentifier, $file)
|
||||
function composerRequirea05c5c8b7f13261cb63f78c456314235($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 ComposerStaticInitad318f92113d53391e5ede7bc1612b22
|
||||
class ComposerStaticInita05c5c8b7f13261cb63f78c456314235
|
||||
{
|
||||
public static $files = array (
|
||||
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
|
||||
@ -3837,9 +3837,9 @@ class ComposerStaticInitad318f92113d53391e5ede7bc1612b22
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitad318f92113d53391e5ede7bc1612b22::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitad318f92113d53391e5ede7bc1612b22::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitad318f92113d53391e5ede7bc1612b22::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInita05c5c8b7f13261cb63f78c456314235::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInita05c5c8b7f13261cb63f78c456314235::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInita05c5c8b7f13261cb63f78c456314235::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
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('RectorPrefix20210716\AutoloadIncluder');
|
||||
}
|
||||
if (!class_exists('ComposerAutoloaderInitad318f92113d53391e5ede7bc1612b22', false) && !interface_exists('ComposerAutoloaderInitad318f92113d53391e5ede7bc1612b22', false) && !trait_exists('ComposerAutoloaderInitad318f92113d53391e5ede7bc1612b22', false)) {
|
||||
spl_autoload_call('RectorPrefix20210716\ComposerAutoloaderInitad318f92113d53391e5ede7bc1612b22');
|
||||
if (!class_exists('ComposerAutoloaderInita05c5c8b7f13261cb63f78c456314235', false) && !interface_exists('ComposerAutoloaderInita05c5c8b7f13261cb63f78c456314235', false) && !trait_exists('ComposerAutoloaderInita05c5c8b7f13261cb63f78c456314235', false)) {
|
||||
spl_autoload_call('RectorPrefix20210716\ComposerAutoloaderInita05c5c8b7f13261cb63f78c456314235');
|
||||
}
|
||||
if (!class_exists('Doctrine\Inflector\Inflector', false) && !interface_exists('Doctrine\Inflector\Inflector', false) && !trait_exists('Doctrine\Inflector\Inflector', false)) {
|
||||
spl_autoload_call('RectorPrefix20210716\Doctrine\Inflector\Inflector');
|
||||
@ -3308,9 +3308,9 @@ if (!function_exists('print_node')) {
|
||||
return \RectorPrefix20210716\print_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('composerRequiread318f92113d53391e5ede7bc1612b22')) {
|
||||
function composerRequiread318f92113d53391e5ede7bc1612b22() {
|
||||
return \RectorPrefix20210716\composerRequiread318f92113d53391e5ede7bc1612b22(...func_get_args());
|
||||
if (!function_exists('composerRequirea05c5c8b7f13261cb63f78c456314235')) {
|
||||
function composerRequirea05c5c8b7f13261cb63f78c456314235() {
|
||||
return \RectorPrefix20210716\composerRequirea05c5c8b7f13261cb63f78c456314235(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('parseArgs')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user