mirror of
https://github.com/rectorphp/rector.git
synced 2024-05-31 00:10:51 +00:00
28c719d1fb
8961d20f56
[DX] Localize multi instance checker and privates accessor from Symplify + bump to PHPStan 1.8.3 (#2883)
57 lines
1.7 KiB
PHP
57 lines
1.7 KiB
PHP
<?php
|
|
|
|
// autoload_real.php @generated by Composer
|
|
|
|
class ComposerAutoloaderInitb981bffc907afb7807601aec8347a8ad
|
|
{
|
|
private static $loader;
|
|
|
|
public static function loadClassLoader($class)
|
|
{
|
|
if ('Composer\Autoload\ClassLoader' === $class) {
|
|
require __DIR__ . '/ClassLoader.php';
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @return \Composer\Autoload\ClassLoader
|
|
*/
|
|
public static function getLoader()
|
|
{
|
|
if (null !== self::$loader) {
|
|
return self::$loader;
|
|
}
|
|
|
|
spl_autoload_register(array('ComposerAutoloaderInitb981bffc907afb7807601aec8347a8ad', 'loadClassLoader'), true, true);
|
|
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
|
spl_autoload_unregister(array('ComposerAutoloaderInitb981bffc907afb7807601aec8347a8ad', 'loadClassLoader'));
|
|
|
|
require __DIR__ . '/autoload_static.php';
|
|
call_user_func(\Composer\Autoload\ComposerStaticInitb981bffc907afb7807601aec8347a8ad::getInitializer($loader));
|
|
|
|
$loader->setClassMapAuthoritative(true);
|
|
$loader->register(true);
|
|
|
|
$includeFiles = \Composer\Autoload\ComposerStaticInitb981bffc907afb7807601aec8347a8ad::$files;
|
|
foreach ($includeFiles as $fileIdentifier => $file) {
|
|
composerRequireb981bffc907afb7807601aec8347a8ad($fileIdentifier, $file);
|
|
}
|
|
|
|
return $loader;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @param string $fileIdentifier
|
|
* @param string $file
|
|
* @return void
|
|
*/
|
|
function composerRequireb981bffc907afb7807601aec8347a8ad($fileIdentifier, $file)
|
|
{
|
|
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
|
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
|
|
|
require $file;
|
|
}
|
|
}
|