mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-03 09:50:49 +00:00
755d463439
1f6c7a6a20
[Scoper] Clean up bootstrap.php: move enum definitions to dedicated file and require in BootstrapFilesIncluder (#2248)
209 lines
8.2 KiB
PHP
209 lines
8.2 KiB
PHP
<?php
|
|
|
|
// scoper-autoload.php @generated by PhpScoper
|
|
|
|
$loader = require_once __DIR__.'/autoload.php';
|
|
|
|
// Aliases for the whitelisted classes. For more information see:
|
|
// https://github.com/humbug/php-scoper/blob/master/README.md#class-whitelisting
|
|
if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) {
|
|
spl_autoload_call('RectorPrefix20220507\AutoloadIncluder');
|
|
}
|
|
if (!class_exists('ComposerAutoloaderInit575da8f25431377f12c8120ae5fdc587', false) && !interface_exists('ComposerAutoloaderInit575da8f25431377f12c8120ae5fdc587', false) && !trait_exists('ComposerAutoloaderInit575da8f25431377f12c8120ae5fdc587', false)) {
|
|
spl_autoload_call('RectorPrefix20220507\ComposerAutoloaderInit575da8f25431377f12c8120ae5fdc587');
|
|
}
|
|
if (!class_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !interface_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !trait_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false)) {
|
|
spl_autoload_call('RectorPrefix20220507\Helmich\TypoScriptParser\Parser\AST\Statement');
|
|
}
|
|
if (!class_exists('Helmich\TypoScriptParser\Parser\Traverser\Traverser', false) && !interface_exists('Helmich\TypoScriptParser\Parser\Traverser\Traverser', false) && !trait_exists('Helmich\TypoScriptParser\Parser\Traverser\Traverser', false)) {
|
|
spl_autoload_call('RectorPrefix20220507\Helmich\TypoScriptParser\Parser\Traverser\Traverser');
|
|
}
|
|
if (!class_exists('MissingReturnTypeParser', false) && !interface_exists('MissingReturnTypeParser', false) && !trait_exists('MissingReturnTypeParser', false)) {
|
|
spl_autoload_call('RectorPrefix20220507\MissingReturnTypeParser');
|
|
}
|
|
if (!class_exists('Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator', false) && !interface_exists('Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator', false) && !trait_exists('Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator', false)) {
|
|
spl_autoload_call('RectorPrefix20220507\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator');
|
|
}
|
|
if (!class_exists('Normalizer', false) && !interface_exists('Normalizer', false) && !trait_exists('Normalizer', false)) {
|
|
spl_autoload_call('RectorPrefix20220507\Normalizer');
|
|
}
|
|
if (!class_exists('ReturnTypeWillChange', false) && !interface_exists('ReturnTypeWillChange', false) && !trait_exists('ReturnTypeWillChange', false)) {
|
|
spl_autoload_call('RectorPrefix20220507\ReturnTypeWillChange');
|
|
}
|
|
if (!class_exists('Symplify\ComposerJsonManipulator\ValueObject\ComposerJson', false) && !interface_exists('Symplify\ComposerJsonManipulator\ValueObject\ComposerJson', false) && !trait_exists('Symplify\ComposerJsonManipulator\ValueObject\ComposerJson', false)) {
|
|
spl_autoload_call('RectorPrefix20220507\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson');
|
|
}
|
|
if (!class_exists('Symplify\SmartFileSystem\SmartFileInfo', false) && !interface_exists('Symplify\SmartFileSystem\SmartFileInfo', false) && !trait_exists('Symplify\SmartFileSystem\SmartFileInfo', false)) {
|
|
spl_autoload_call('RectorPrefix20220507\Symplify\SmartFileSystem\SmartFileInfo');
|
|
}
|
|
|
|
// Functions whitelisting. For more information see:
|
|
// https://github.com/humbug/php-scoper/blob/master/README.md#functions-whitelisting
|
|
if (!function_exists('dump_with_depth')) {
|
|
function dump_with_depth() {
|
|
return \RectorPrefix20220507\dump_with_depth(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('dn')) {
|
|
function dn() {
|
|
return \RectorPrefix20220507\dn(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('dump_node')) {
|
|
function dump_node() {
|
|
return \RectorPrefix20220507\dump_node(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('print_node')) {
|
|
function print_node() {
|
|
return \RectorPrefix20220507\print_node(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('composerRequire575da8f25431377f12c8120ae5fdc587')) {
|
|
function composerRequire575da8f25431377f12c8120ae5fdc587() {
|
|
return \RectorPrefix20220507\composerRequire575da8f25431377f12c8120ae5fdc587(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('scanPath')) {
|
|
function scanPath() {
|
|
return \RectorPrefix20220507\scanPath(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('lintFile')) {
|
|
function lintFile() {
|
|
return \RectorPrefix20220507\lintFile(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('array_is_list')) {
|
|
function array_is_list() {
|
|
return \RectorPrefix20220507\array_is_list(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('parseArgs')) {
|
|
function parseArgs() {
|
|
return \RectorPrefix20220507\parseArgs(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('showHelp')) {
|
|
function showHelp() {
|
|
return \RectorPrefix20220507\showHelp(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('formatErrorMessage')) {
|
|
function formatErrorMessage() {
|
|
return \RectorPrefix20220507\formatErrorMessage(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('preprocessGrammar')) {
|
|
function preprocessGrammar() {
|
|
return \RectorPrefix20220507\preprocessGrammar(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('resolveNodes')) {
|
|
function resolveNodes() {
|
|
return \RectorPrefix20220507\resolveNodes(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('resolveMacros')) {
|
|
function resolveMacros() {
|
|
return \RectorPrefix20220507\resolveMacros(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('resolveStackAccess')) {
|
|
function resolveStackAccess() {
|
|
return \RectorPrefix20220507\resolveStackAccess(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('magicSplit')) {
|
|
function magicSplit() {
|
|
return \RectorPrefix20220507\magicSplit(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('assertArgs')) {
|
|
function assertArgs() {
|
|
return \RectorPrefix20220507\assertArgs(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('removeTrailingWhitespace')) {
|
|
function removeTrailingWhitespace() {
|
|
return \RectorPrefix20220507\removeTrailingWhitespace(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('regex')) {
|
|
function regex() {
|
|
return \RectorPrefix20220507\regex(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('execCmd')) {
|
|
function execCmd() {
|
|
return \RectorPrefix20220507\execCmd(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('ensureDirExists')) {
|
|
function ensureDirExists() {
|
|
return \RectorPrefix20220507\ensureDirExists(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('uv_signal_init')) {
|
|
function uv_signal_init() {
|
|
return \RectorPrefix20220507\uv_signal_init(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('uv_signal_start')) {
|
|
function uv_signal_start() {
|
|
return \RectorPrefix20220507\uv_signal_start(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('uv_poll_init_socket')) {
|
|
function uv_poll_init_socket() {
|
|
return \RectorPrefix20220507\uv_poll_init_socket(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('setproctitle')) {
|
|
function setproctitle() {
|
|
return \RectorPrefix20220507\setproctitle(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('trigger_deprecation')) {
|
|
function trigger_deprecation() {
|
|
return \RectorPrefix20220507\trigger_deprecation(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('enum_exists')) {
|
|
function enum_exists() {
|
|
return \RectorPrefix20220507\enum_exists(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('includeIfExists')) {
|
|
function includeIfExists() {
|
|
return \RectorPrefix20220507\includeIfExists(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('dump')) {
|
|
function dump() {
|
|
return \RectorPrefix20220507\dump(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('dumpe')) {
|
|
function dumpe() {
|
|
return \RectorPrefix20220507\dumpe(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('bdump')) {
|
|
function bdump() {
|
|
return \RectorPrefix20220507\bdump(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('compressJs')) {
|
|
function compressJs() {
|
|
return \RectorPrefix20220507\compressJs(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('compressCss')) {
|
|
function compressCss() {
|
|
return \RectorPrefix20220507\compressCss(...func_get_args());
|
|
}
|
|
}
|
|
|
|
return $loader;
|