mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-03 09:50:49 +00:00
Updated Rector to commit 4765d5a18552704431a5064a308b73a2414c2190
4765d5a185
[Scoped] Add back SmartFileInfo to bootstrap.php (#2846)
This commit is contained in:
parent
dbb408c5c9
commit
2b2ae56d65
|
@ -23,4 +23,11 @@ spl_autoload_register(function (string $class): void {
|
||||||
$composerAutoloader->loadClass($class);
|
$composerAutoloader->loadClass($class);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($class === 'Symplify\SmartFileSystem\SmartFileInfo') {
|
||||||
|
$filePath = __DIR__ . '/vendor/symplify/smart-file-system/src/SmartFileInfo.php';
|
||||||
|
if (file_exists($filePath)) {
|
||||||
|
require_once $filePath;
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -17,12 +17,12 @@ final class VersionResolver
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const PACKAGE_VERSION = 'c579c2873c4511eb29e337a12b62cadd3978f1e7';
|
public const PACKAGE_VERSION = '4765d5a18552704431a5064a308b73a2414c2190';
|
||||||
/**
|
/**
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const RELEASE_DATE = '2022-08-29 15:59:03';
|
public const RELEASE_DATE = '2022-08-29 17:34:07';
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @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';
|
require_once __DIR__ . '/composer/autoload_real.php';
|
||||||
|
|
||||||
return ComposerAutoloaderInit22b648b0f8ff73f9840667a95df87076::getLoader();
|
return ComposerAutoloaderInitcfe1354e6d4ec90d3ccf16310fc089ce::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
|
// autoload_real.php @generated by Composer
|
||||||
|
|
||||||
class ComposerAutoloaderInit22b648b0f8ff73f9840667a95df87076
|
class ComposerAutoloaderInitcfe1354e6d4ec90d3ccf16310fc089ce
|
||||||
{
|
{
|
||||||
private static $loader;
|
private static $loader;
|
||||||
|
|
||||||
|
@ -22,19 +22,19 @@ class ComposerAutoloaderInit22b648b0f8ff73f9840667a95df87076
|
||||||
return self::$loader;
|
return self::$loader;
|
||||||
}
|
}
|
||||||
|
|
||||||
spl_autoload_register(array('ComposerAutoloaderInit22b648b0f8ff73f9840667a95df87076', 'loadClassLoader'), true, true);
|
spl_autoload_register(array('ComposerAutoloaderInitcfe1354e6d4ec90d3ccf16310fc089ce', 'loadClassLoader'), true, true);
|
||||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||||
spl_autoload_unregister(array('ComposerAutoloaderInit22b648b0f8ff73f9840667a95df87076', 'loadClassLoader'));
|
spl_autoload_unregister(array('ComposerAutoloaderInitcfe1354e6d4ec90d3ccf16310fc089ce', 'loadClassLoader'));
|
||||||
|
|
||||||
require __DIR__ . '/autoload_static.php';
|
require __DIR__ . '/autoload_static.php';
|
||||||
call_user_func(\Composer\Autoload\ComposerStaticInit22b648b0f8ff73f9840667a95df87076::getInitializer($loader));
|
call_user_func(\Composer\Autoload\ComposerStaticInitcfe1354e6d4ec90d3ccf16310fc089ce::getInitializer($loader));
|
||||||
|
|
||||||
$loader->setClassMapAuthoritative(true);
|
$loader->setClassMapAuthoritative(true);
|
||||||
$loader->register(true);
|
$loader->register(true);
|
||||||
|
|
||||||
$includeFiles = \Composer\Autoload\ComposerStaticInit22b648b0f8ff73f9840667a95df87076::$files;
|
$includeFiles = \Composer\Autoload\ComposerStaticInitcfe1354e6d4ec90d3ccf16310fc089ce::$files;
|
||||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||||
composerRequire22b648b0f8ff73f9840667a95df87076($fileIdentifier, $file);
|
composerRequirecfe1354e6d4ec90d3ccf16310fc089ce($fileIdentifier, $file);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $loader;
|
return $loader;
|
||||||
|
@ -46,7 +46,7 @@ class ComposerAutoloaderInit22b648b0f8ff73f9840667a95df87076
|
||||||
* @param string $file
|
* @param string $file
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function composerRequire22b648b0f8ff73f9840667a95df87076($fileIdentifier, $file)
|
function composerRequirecfe1354e6d4ec90d3ccf16310fc089ce($fileIdentifier, $file)
|
||||||
{
|
{
|
||||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
$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;
|
namespace Composer\Autoload;
|
||||||
|
|
||||||
class ComposerStaticInit22b648b0f8ff73f9840667a95df87076
|
class ComposerStaticInitcfe1354e6d4ec90d3ccf16310fc089ce
|
||||||
{
|
{
|
||||||
public static $files = array (
|
public static $files = array (
|
||||||
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
||||||
|
@ -3256,9 +3256,9 @@ class ComposerStaticInit22b648b0f8ff73f9840667a95df87076
|
||||||
public static function getInitializer(ClassLoader $loader)
|
public static function getInitializer(ClassLoader $loader)
|
||||||
{
|
{
|
||||||
return \Closure::bind(function () use ($loader) {
|
return \Closure::bind(function () use ($loader) {
|
||||||
$loader->prefixLengthsPsr4 = ComposerStaticInit22b648b0f8ff73f9840667a95df87076::$prefixLengthsPsr4;
|
$loader->prefixLengthsPsr4 = ComposerStaticInitcfe1354e6d4ec90d3ccf16310fc089ce::$prefixLengthsPsr4;
|
||||||
$loader->prefixDirsPsr4 = ComposerStaticInit22b648b0f8ff73f9840667a95df87076::$prefixDirsPsr4;
|
$loader->prefixDirsPsr4 = ComposerStaticInitcfe1354e6d4ec90d3ccf16310fc089ce::$prefixDirsPsr4;
|
||||||
$loader->classMap = ComposerStaticInit22b648b0f8ff73f9840667a95df87076::$classMap;
|
$loader->classMap = ComposerStaticInitcfe1354e6d4ec90d3ccf16310fc089ce::$classMap;
|
||||||
|
|
||||||
}, null, ClassLoader::class);
|
}, null, ClassLoader::class);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user