mirror of
https://github.com/rectorphp/rector.git
synced 2024-05-31 00:10:51 +00:00
5602ee85cd
3de7c697f5
[DX] Remove *AnnotationIncorrectNullableRector rules as works with unreliable docblocks and can have 2 solutions (#4719)
50 lines
1.6 KiB
PHP
50 lines
1.6 KiB
PHP
<?php
|
|
|
|
// autoload_real.php @generated by Composer
|
|
|
|
class ComposerAutoloaderInit68b9c3caf5bc49fdc0a10057e30efb6d
|
|
{
|
|
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('ComposerAutoloaderInit68b9c3caf5bc49fdc0a10057e30efb6d', 'loadClassLoader'), true, true);
|
|
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
|
spl_autoload_unregister(array('ComposerAutoloaderInit68b9c3caf5bc49fdc0a10057e30efb6d', 'loadClassLoader'));
|
|
|
|
require __DIR__ . '/autoload_static.php';
|
|
call_user_func(\Composer\Autoload\ComposerStaticInit68b9c3caf5bc49fdc0a10057e30efb6d::getInitializer($loader));
|
|
|
|
$loader->setClassMapAuthoritative(true);
|
|
$loader->register(true);
|
|
|
|
$filesToLoad = \Composer\Autoload\ComposerStaticInit68b9c3caf5bc49fdc0a10057e30efb6d::$files;
|
|
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
|
|
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
|
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
|
|
|
require $file;
|
|
}
|
|
}, null, null);
|
|
foreach ($filesToLoad as $fileIdentifier => $file) {
|
|
$requireFile($fileIdentifier, $file);
|
|
}
|
|
|
|
return $loader;
|
|
}
|
|
}
|