mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
4a5f1c82b3
8547bdba9d
[Php81] Skip ReadOnlyPropertyRector on Entity id (#1379)
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('RectorPrefix20211204\GenerateChangelogCommand');
|
|
}
|
|
if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) {
|
|
spl_autoload_call('RectorPrefix20211204\AutoloadIncluder');
|
|
}
|
|
if (!class_exists('ComposerAutoloaderInitc0f7d04243f7ced7fafc52fe724acf20', false) && !interface_exists('ComposerAutoloaderInitc0f7d04243f7ced7fafc52fe724acf20', false) && !trait_exists('ComposerAutoloaderInitc0f7d04243f7ced7fafc52fe724acf20', false)) {
|
|
spl_autoload_call('RectorPrefix20211204\ComposerAutoloaderInitc0f7d04243f7ced7fafc52fe724acf20');
|
|
}
|
|
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('RectorPrefix20211204\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('RectorPrefix20211204\Helmich\TypoScriptParser\Parser\Traverser\Traverser');
|
|
}
|
|
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('RectorPrefix20211204\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator');
|
|
}
|
|
if (!class_exists('Normalizer', false) && !interface_exists('Normalizer', false) && !trait_exists('Normalizer', false)) {
|
|
spl_autoload_call('RectorPrefix20211204\Normalizer');
|
|
}
|
|
if (!class_exists('JsonException', false) && !interface_exists('JsonException', false) && !trait_exists('JsonException', false)) {
|
|
spl_autoload_call('RectorPrefix20211204\JsonException');
|
|
}
|
|
if (!class_exists('Attribute', false) && !interface_exists('Attribute', false) && !trait_exists('Attribute', false)) {
|
|
spl_autoload_call('RectorPrefix20211204\Attribute');
|
|
}
|
|
if (!class_exists('Stringable', false) && !interface_exists('Stringable', false) && !trait_exists('Stringable', false)) {
|
|
spl_autoload_call('RectorPrefix20211204\Stringable');
|
|
}
|
|
if (!class_exists('UnhandledMatchError', false) && !interface_exists('UnhandledMatchError', false) && !trait_exists('UnhandledMatchError', false)) {
|
|
spl_autoload_call('RectorPrefix20211204\UnhandledMatchError');
|
|
}
|
|
if (!class_exists('ValueError', false) && !interface_exists('ValueError', false) && !trait_exists('ValueError', false)) {
|
|
spl_autoload_call('RectorPrefix20211204\ValueError');
|
|
}
|
|
if (!class_exists('ReturnTypeWillChange', false) && !interface_exists('ReturnTypeWillChange', false) && !trait_exists('ReturnTypeWillChange', false)) {
|
|
spl_autoload_call('RectorPrefix20211204\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('RectorPrefix20211204\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('RectorPrefix20211204\Symplify\SmartFileSystem\SmartFileInfo');
|
|
}
|
|
if (!class_exists('Test', false) && !interface_exists('Test', false) && !trait_exists('Test', false)) {
|
|
spl_autoload_call('RectorPrefix20211204\Test');
|
|
}
|
|
if (!class_exists('ParentClass', false) && !interface_exists('ParentClass', false) && !trait_exists('ParentClass', false)) {
|
|
spl_autoload_call('RectorPrefix20211204\ParentClass');
|
|
}
|
|
if (!class_exists('ChildClass', false) && !interface_exists('ChildClass', false) && !trait_exists('ChildClass', false)) {
|
|
spl_autoload_call('RectorPrefix20211204\ChildClass');
|
|
}
|
|
if (!class_exists('DemoClass', false) && !interface_exists('DemoClass', false) && !trait_exists('DemoClass', false)) {
|
|
spl_autoload_call('RectorPrefix20211204\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 \RectorPrefix20211204\dn(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('dump_node')) {
|
|
function dump_node() {
|
|
return \RectorPrefix20211204\dump_node(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('print_node')) {
|
|
function print_node() {
|
|
return \RectorPrefix20211204\print_node(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('composerRequirec0f7d04243f7ced7fafc52fe724acf20')) {
|
|
function composerRequirec0f7d04243f7ced7fafc52fe724acf20() {
|
|
return \RectorPrefix20211204\composerRequirec0f7d04243f7ced7fafc52fe724acf20(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('scanPath')) {
|
|
function scanPath() {
|
|
return \RectorPrefix20211204\scanPath(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('lintFile')) {
|
|
function lintFile() {
|
|
return \RectorPrefix20211204\lintFile(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('parseArgs')) {
|
|
function parseArgs() {
|
|
return \RectorPrefix20211204\parseArgs(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('showHelp')) {
|
|
function showHelp() {
|
|
return \RectorPrefix20211204\showHelp(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('formatErrorMessage')) {
|
|
function formatErrorMessage() {
|
|
return \RectorPrefix20211204\formatErrorMessage(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('preprocessGrammar')) {
|
|
function preprocessGrammar() {
|
|
return \RectorPrefix20211204\preprocessGrammar(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('resolveNodes')) {
|
|
function resolveNodes() {
|
|
return \RectorPrefix20211204\resolveNodes(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('resolveMacros')) {
|
|
function resolveMacros() {
|
|
return \RectorPrefix20211204\resolveMacros(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('resolveStackAccess')) {
|
|
function resolveStackAccess() {
|
|
return \RectorPrefix20211204\resolveStackAccess(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('magicSplit')) {
|
|
function magicSplit() {
|
|
return \RectorPrefix20211204\magicSplit(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('assertArgs')) {
|
|
function assertArgs() {
|
|
return \RectorPrefix20211204\assertArgs(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('removeTrailingWhitespace')) {
|
|
function removeTrailingWhitespace() {
|
|
return \RectorPrefix20211204\removeTrailingWhitespace(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('regex')) {
|
|
function regex() {
|
|
return \RectorPrefix20211204\regex(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('execCmd')) {
|
|
function execCmd() {
|
|
return \RectorPrefix20211204\execCmd(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('ensureDirExists')) {
|
|
function ensureDirExists() {
|
|
return \RectorPrefix20211204\ensureDirExists(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('uv_signal_init')) {
|
|
function uv_signal_init() {
|
|
return \RectorPrefix20211204\uv_signal_init(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('uv_signal_start')) {
|
|
function uv_signal_start() {
|
|
return \RectorPrefix20211204\uv_signal_start(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('uv_poll_init_socket')) {
|
|
function uv_poll_init_socket() {
|
|
return \RectorPrefix20211204\uv_poll_init_socket(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('setproctitle')) {
|
|
function setproctitle() {
|
|
return \RectorPrefix20211204\setproctitle(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('trigger_deprecation')) {
|
|
function trigger_deprecation() {
|
|
return \RectorPrefix20211204\trigger_deprecation(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('array_is_list')) {
|
|
function array_is_list() {
|
|
return \RectorPrefix20211204\array_is_list(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('enum_exists')) {
|
|
function enum_exists() {
|
|
return \RectorPrefix20211204\enum_exists(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('includeIfExists')) {
|
|
function includeIfExists() {
|
|
return \RectorPrefix20211204\includeIfExists(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('bdump')) {
|
|
function bdump() {
|
|
return \RectorPrefix20211204\bdump(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('this_is_fatal_error')) {
|
|
function this_is_fatal_error() {
|
|
return \RectorPrefix20211204\this_is_fatal_error(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('dump')) {
|
|
function dump() {
|
|
return \RectorPrefix20211204\dump(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('demo')) {
|
|
function demo() {
|
|
return \RectorPrefix20211204\demo(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('first')) {
|
|
function first() {
|
|
return \RectorPrefix20211204\first(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('second')) {
|
|
function second() {
|
|
return \RectorPrefix20211204\second(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('third')) {
|
|
function third() {
|
|
return \RectorPrefix20211204\third(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('foo')) {
|
|
function foo() {
|
|
return \RectorPrefix20211204\foo(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('head')) {
|
|
function head() {
|
|
return \RectorPrefix20211204\head(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('dumpe')) {
|
|
function dumpe() {
|
|
return \RectorPrefix20211204\dumpe(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('compressJs')) {
|
|
function compressJs() {
|
|
return \RectorPrefix20211204\compressJs(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('compressCss')) {
|
|
function compressCss() {
|
|
return \RectorPrefix20211204\compressCss(...func_get_args());
|
|
}
|
|
}
|
|
|
|
return $loader;
|