mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
cc91bd4f07
0eba231b07
[PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
201 lines
7.8 KiB
PHP
201 lines
7.8 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('RectorPrefix20220606\AutoloadIncluder');
|
|
}
|
|
if (!class_exists('ComposerAutoloaderInit95b53f455959e727a9edae2baf432192', false) && !interface_exists('ComposerAutoloaderInit95b53f455959e727a9edae2baf432192', false) && !trait_exists('ComposerAutoloaderInit95b53f455959e727a9edae2baf432192', false)) {
|
|
spl_autoload_call('RectorPrefix20220606\ComposerAutoloaderInit95b53f455959e727a9edae2baf432192');
|
|
}
|
|
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('RectorPrefix20220606\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('RectorPrefix20220606\Helmich\TypoScriptParser\Parser\Traverser\Traverser');
|
|
}
|
|
if (!class_exists('MissingReturnTypeParser', false) && !interface_exists('MissingReturnTypeParser', false) && !trait_exists('MissingReturnTypeParser', false)) {
|
|
spl_autoload_call('RectorPrefix20220606\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('RectorPrefix20220606\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator');
|
|
}
|
|
if (!class_exists('Normalizer', false) && !interface_exists('Normalizer', false) && !trait_exists('Normalizer', false)) {
|
|
spl_autoload_call('RectorPrefix20220606\Normalizer');
|
|
}
|
|
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('RectorPrefix20220606\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('RectorPrefix20220606\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 \RectorPrefix20220606\dump_with_depth(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('dn')) {
|
|
function dn() {
|
|
return \RectorPrefix20220606\dn(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('dump_node')) {
|
|
function dump_node() {
|
|
return \RectorPrefix20220606\dump_node(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('print_node')) {
|
|
function print_node() {
|
|
return \RectorPrefix20220606\print_node(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('composerRequire95b53f455959e727a9edae2baf432192')) {
|
|
function composerRequire95b53f455959e727a9edae2baf432192() {
|
|
return \RectorPrefix20220606\composerRequire95b53f455959e727a9edae2baf432192(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('scanPath')) {
|
|
function scanPath() {
|
|
return \RectorPrefix20220606\scanPath(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('lintFile')) {
|
|
function lintFile() {
|
|
return \RectorPrefix20220606\lintFile(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('array_is_list')) {
|
|
function array_is_list() {
|
|
return \RectorPrefix20220606\array_is_list(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('parseArgs')) {
|
|
function parseArgs() {
|
|
return \RectorPrefix20220606\parseArgs(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('showHelp')) {
|
|
function showHelp() {
|
|
return \RectorPrefix20220606\showHelp(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('formatErrorMessage')) {
|
|
function formatErrorMessage() {
|
|
return \RectorPrefix20220606\formatErrorMessage(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('preprocessGrammar')) {
|
|
function preprocessGrammar() {
|
|
return \RectorPrefix20220606\preprocessGrammar(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('resolveNodes')) {
|
|
function resolveNodes() {
|
|
return \RectorPrefix20220606\resolveNodes(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('resolveMacros')) {
|
|
function resolveMacros() {
|
|
return \RectorPrefix20220606\resolveMacros(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('resolveStackAccess')) {
|
|
function resolveStackAccess() {
|
|
return \RectorPrefix20220606\resolveStackAccess(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('magicSplit')) {
|
|
function magicSplit() {
|
|
return \RectorPrefix20220606\magicSplit(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('assertArgs')) {
|
|
function assertArgs() {
|
|
return \RectorPrefix20220606\assertArgs(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('removeTrailingWhitespace')) {
|
|
function removeTrailingWhitespace() {
|
|
return \RectorPrefix20220606\removeTrailingWhitespace(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('regex')) {
|
|
function regex() {
|
|
return \RectorPrefix20220606\regex(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('execCmd')) {
|
|
function execCmd() {
|
|
return \RectorPrefix20220606\execCmd(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('ensureDirExists')) {
|
|
function ensureDirExists() {
|
|
return \RectorPrefix20220606\ensureDirExists(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('uv_signal_init')) {
|
|
function uv_signal_init() {
|
|
return \RectorPrefix20220606\uv_signal_init(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('uv_signal_start')) {
|
|
function uv_signal_start() {
|
|
return \RectorPrefix20220606\uv_signal_start(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('uv_poll_init_socket')) {
|
|
function uv_poll_init_socket() {
|
|
return \RectorPrefix20220606\uv_poll_init_socket(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('setproctitle')) {
|
|
function setproctitle() {
|
|
return \RectorPrefix20220606\setproctitle(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('trigger_deprecation')) {
|
|
function trigger_deprecation() {
|
|
return \RectorPrefix20220606\trigger_deprecation(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('includeIfExists')) {
|
|
function includeIfExists() {
|
|
return \RectorPrefix20220606\includeIfExists(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('dump')) {
|
|
function dump() {
|
|
return \RectorPrefix20220606\dump(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('dumpe')) {
|
|
function dumpe() {
|
|
return \RectorPrefix20220606\dumpe(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('bdump')) {
|
|
function bdump() {
|
|
return \RectorPrefix20220606\bdump(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('compressJs')) {
|
|
function compressJs() {
|
|
return \RectorPrefix20220606\compressJs(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('compressCss')) {
|
|
function compressCss() {
|
|
return \RectorPrefix20220606\compressCss(...func_get_args());
|
|
}
|
|
}
|
|
|
|
return $loader;
|