mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 13:28:18 +01:00
Updated Rector to commit 87b3ad56dd568ad4c17daafdca20c5aa865e2108
87b3ad56dd
Remove SmartFileInfo registration in bootstrap.php (#2589)
This commit is contained in:
parent
f0abc6fd73
commit
19c1fb9829
@ -23,12 +23,4 @@ spl_autoload_register(function (string $class): void {
|
||||
$composerAutoloader->loadClass($class);
|
||||
}
|
||||
}
|
||||
|
||||
// aliased by php-scoper, that's why its missing
|
||||
if ($class === 'Symplify\SmartFileSystem\SmartFileInfo') {
|
||||
$filePath = __DIR__ . '/vendor/symplify/smart-file-system/src/SmartFileInfo.php';
|
||||
if (file_exists($filePath)) {
|
||||
require $filePath;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -16,11 +16,11 @@ final class VersionResolver
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '250bcbbd2fd23f9dcbb697640dd40dee78aadc66';
|
||||
public const PACKAGE_VERSION = '87b3ad56dd568ad4c17daafdca20c5aa865e2108';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2022-06-29 12:59:47';
|
||||
public const RELEASE_DATE = '2022-06-29 13:47:35';
|
||||
/**
|
||||
* @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 ComposerAutoloaderInit34c4a79a48ba7bc185fcae4c98915f19::getLoader();
|
||||
return ComposerAutoloaderInit68d1b536eef6f4c8b625f39ddd31b841::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 ComposerAutoloaderInit34c4a79a48ba7bc185fcae4c98915f19
|
||||
class ComposerAutoloaderInit68d1b536eef6f4c8b625f39ddd31b841
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,19 +22,19 @@ class ComposerAutoloaderInit34c4a79a48ba7bc185fcae4c98915f19
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit34c4a79a48ba7bc185fcae4c98915f19', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit68d1b536eef6f4c8b625f39ddd31b841', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit34c4a79a48ba7bc185fcae4c98915f19', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit68d1b536eef6f4c8b625f39ddd31b841', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit34c4a79a48ba7bc185fcae4c98915f19::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit68d1b536eef6f4c8b625f39ddd31b841::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInit34c4a79a48ba7bc185fcae4c98915f19::$files;
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInit68d1b536eef6f4c8b625f39ddd31b841::$files;
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire34c4a79a48ba7bc185fcae4c98915f19($fileIdentifier, $file);
|
||||
composerRequire68d1b536eef6f4c8b625f39ddd31b841($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
@ -46,7 +46,7 @@ class ComposerAutoloaderInit34c4a79a48ba7bc185fcae4c98915f19
|
||||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequire34c4a79a48ba7bc185fcae4c98915f19($fileIdentifier, $file)
|
||||
function composerRequire68d1b536eef6f4c8b625f39ddd31b841($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 ComposerStaticInit34c4a79a48ba7bc185fcae4c98915f19
|
||||
class ComposerStaticInit68d1b536eef6f4c8b625f39ddd31b841
|
||||
{
|
||||
public static $files = array (
|
||||
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
||||
@ -3415,9 +3415,9 @@ class ComposerStaticInit34c4a79a48ba7bc185fcae4c98915f19
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit34c4a79a48ba7bc185fcae4c98915f19::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit34c4a79a48ba7bc185fcae4c98915f19::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit34c4a79a48ba7bc185fcae4c98915f19::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit68d1b536eef6f4c8b625f39ddd31b841::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit68d1b536eef6f4c8b625f39ddd31b841::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit68d1b536eef6f4c8b625f39ddd31b841::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user