mirror of
https://github.com/rectorphp/rector.git
synced 2025-03-14 12:29:43 +01:00
266 lines
11 KiB
PHP
266 lines
11 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('GenerateChangelogCommand', false) && !interface_exists('GenerateChangelogCommand', false) && !trait_exists('GenerateChangelogCommand', false)) {
|
|
spl_autoload_call('RectorPrefix20211209\GenerateChangelogCommand');
|
|
}
|
|
if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) {
|
|
spl_autoload_call('RectorPrefix20211209\AutoloadIncluder');
|
|
}
|
|
if (!class_exists('ComposerAutoloaderInitea6be250a9b3ddb5ee7f07c3b6239625', false) && !interface_exists('ComposerAutoloaderInitea6be250a9b3ddb5ee7f07c3b6239625', false) && !trait_exists('ComposerAutoloaderInitea6be250a9b3ddb5ee7f07c3b6239625', false)) {
|
|
spl_autoload_call('RectorPrefix20211209\ComposerAutoloaderInitea6be250a9b3ddb5ee7f07c3b6239625');
|
|
}
|
|
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('RectorPrefix20211209\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('RectorPrefix20211209\Helmich\TypoScriptParser\Parser\Traverser\Traverser');
|
|
}
|
|
if (!class_exists('MissingReturnTypeParser', false) && !interface_exists('MissingReturnTypeParser', false) && !trait_exists('MissingReturnTypeParser', false)) {
|
|
spl_autoload_call('RectorPrefix20211209\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('RectorPrefix20211209\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator');
|
|
}
|
|
if (!class_exists('Normalizer', false) && !interface_exists('Normalizer', false) && !trait_exists('Normalizer', false)) {
|
|
spl_autoload_call('RectorPrefix20211209\Normalizer');
|
|
}
|
|
if (!class_exists('Attribute', false) && !interface_exists('Attribute', false) && !trait_exists('Attribute', false)) {
|
|
spl_autoload_call('RectorPrefix20211209\Attribute');
|
|
}
|
|
if (!class_exists('Stringable', false) && !interface_exists('Stringable', false) && !trait_exists('Stringable', false)) {
|
|
spl_autoload_call('RectorPrefix20211209\Stringable');
|
|
}
|
|
if (!class_exists('UnhandledMatchError', false) && !interface_exists('UnhandledMatchError', false) && !trait_exists('UnhandledMatchError', false)) {
|
|
spl_autoload_call('RectorPrefix20211209\UnhandledMatchError');
|
|
}
|
|
if (!class_exists('ValueError', false) && !interface_exists('ValueError', false) && !trait_exists('ValueError', false)) {
|
|
spl_autoload_call('RectorPrefix20211209\ValueError');
|
|
}
|
|
if (!class_exists('ReturnTypeWillChange', false) && !interface_exists('ReturnTypeWillChange', false) && !trait_exists('ReturnTypeWillChange', false)) {
|
|
spl_autoload_call('RectorPrefix20211209\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('RectorPrefix20211209\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('RectorPrefix20211209\Symplify\SmartFileSystem\SmartFileInfo');
|
|
}
|
|
if (!class_exists('Test', false) && !interface_exists('Test', false) && !trait_exists('Test', false)) {
|
|
spl_autoload_call('RectorPrefix20211209\Test');
|
|
}
|
|
if (!class_exists('ParentClass', false) && !interface_exists('ParentClass', false) && !trait_exists('ParentClass', false)) {
|
|
spl_autoload_call('RectorPrefix20211209\ParentClass');
|
|
}
|
|
if (!class_exists('ChildClass', false) && !interface_exists('ChildClass', false) && !trait_exists('ChildClass', false)) {
|
|
spl_autoload_call('RectorPrefix20211209\ChildClass');
|
|
}
|
|
if (!class_exists('DemoClass', false) && !interface_exists('DemoClass', false) && !trait_exists('DemoClass', false)) {
|
|
spl_autoload_call('RectorPrefix20211209\DemoClass');
|
|
}
|
|
|
|
// Functions whitelisting. For more information see:
|
|
// https://github.com/humbug/php-scoper/blob/master/README.md#functions-whitelisting
|
|
if (!function_exists('dn')) {
|
|
function dn() {
|
|
return \RectorPrefix20211209\dn(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('dump_node')) {
|
|
function dump_node() {
|
|
return \RectorPrefix20211209\dump_node(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('print_node')) {
|
|
function print_node() {
|
|
return \RectorPrefix20211209\print_node(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('composerRequireea6be250a9b3ddb5ee7f07c3b6239625')) {
|
|
function composerRequireea6be250a9b3ddb5ee7f07c3b6239625() {
|
|
return \RectorPrefix20211209\composerRequireea6be250a9b3ddb5ee7f07c3b6239625(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('scanPath')) {
|
|
function scanPath() {
|
|
return \RectorPrefix20211209\scanPath(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('lintFile')) {
|
|
function lintFile() {
|
|
return \RectorPrefix20211209\lintFile(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('parseArgs')) {
|
|
function parseArgs() {
|
|
return \RectorPrefix20211209\parseArgs(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('showHelp')) {
|
|
function showHelp() {
|
|
return \RectorPrefix20211209\showHelp(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('formatErrorMessage')) {
|
|
function formatErrorMessage() {
|
|
return \RectorPrefix20211209\formatErrorMessage(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('preprocessGrammar')) {
|
|
function preprocessGrammar() {
|
|
return \RectorPrefix20211209\preprocessGrammar(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('resolveNodes')) {
|
|
function resolveNodes() {
|
|
return \RectorPrefix20211209\resolveNodes(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('resolveMacros')) {
|
|
function resolveMacros() {
|
|
return \RectorPrefix20211209\resolveMacros(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('resolveStackAccess')) {
|
|
function resolveStackAccess() {
|
|
return \RectorPrefix20211209\resolveStackAccess(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('magicSplit')) {
|
|
function magicSplit() {
|
|
return \RectorPrefix20211209\magicSplit(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('assertArgs')) {
|
|
function assertArgs() {
|
|
return \RectorPrefix20211209\assertArgs(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('removeTrailingWhitespace')) {
|
|
function removeTrailingWhitespace() {
|
|
return \RectorPrefix20211209\removeTrailingWhitespace(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('regex')) {
|
|
function regex() {
|
|
return \RectorPrefix20211209\regex(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('execCmd')) {
|
|
function execCmd() {
|
|
return \RectorPrefix20211209\execCmd(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('ensureDirExists')) {
|
|
function ensureDirExists() {
|
|
return \RectorPrefix20211209\ensureDirExists(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('uv_signal_init')) {
|
|
function uv_signal_init() {
|
|
return \RectorPrefix20211209\uv_signal_init(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('uv_signal_start')) {
|
|
function uv_signal_start() {
|
|
return \RectorPrefix20211209\uv_signal_start(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('uv_poll_init_socket')) {
|
|
function uv_poll_init_socket() {
|
|
return \RectorPrefix20211209\uv_poll_init_socket(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('setproctitle')) {
|
|
function setproctitle() {
|
|
return \RectorPrefix20211209\setproctitle(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('trigger_deprecation')) {
|
|
function trigger_deprecation() {
|
|
return \RectorPrefix20211209\trigger_deprecation(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('array_is_list')) {
|
|
function array_is_list() {
|
|
return \RectorPrefix20211209\array_is_list(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('enum_exists')) {
|
|
function enum_exists() {
|
|
return \RectorPrefix20211209\enum_exists(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('includeIfExists')) {
|
|
function includeIfExists() {
|
|
return \RectorPrefix20211209\includeIfExists(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('bdump')) {
|
|
function bdump() {
|
|
return \RectorPrefix20211209\bdump(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('this_is_fatal_error')) {
|
|
function this_is_fatal_error() {
|
|
return \RectorPrefix20211209\this_is_fatal_error(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('dump')) {
|
|
function dump() {
|
|
return \RectorPrefix20211209\dump(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('demo')) {
|
|
function demo() {
|
|
return \RectorPrefix20211209\demo(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('first')) {
|
|
function first() {
|
|
return \RectorPrefix20211209\first(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('second')) {
|
|
function second() {
|
|
return \RectorPrefix20211209\second(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('third')) {
|
|
function third() {
|
|
return \RectorPrefix20211209\third(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('foo')) {
|
|
function foo() {
|
|
return \RectorPrefix20211209\foo(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('head')) {
|
|
function head() {
|
|
return \RectorPrefix20211209\head(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('dumpe')) {
|
|
function dumpe() {
|
|
return \RectorPrefix20211209\dumpe(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('compressJs')) {
|
|
function compressJs() {
|
|
return \RectorPrefix20211209\compressJs(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('compressCss')) {
|
|
function compressCss() {
|
|
return \RectorPrefix20211209\compressCss(...func_get_args());
|
|
}
|
|
}
|
|
|
|
return $loader;
|