mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 14:03:41 +01:00
570ffb84f2
87b3dad341
[Scoped] Register src/functions functions list to scoper config (#2536)
45 lines
1.7 KiB
PHP
45 lines
1.7 KiB
PHP
<?php
|
|
|
|
// scoper-autoload.php @generated by PhpScoper
|
|
|
|
$loader = require_once __DIR__.'/autoload.php';
|
|
|
|
// Exposed classes. For more information see:
|
|
// https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#exposing-classes
|
|
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('RectorPrefix202206\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('RectorPrefix202206\Symplify\SmartFileSystem\SmartFileInfo');
|
|
}
|
|
|
|
// Exposed functions. For more information see:
|
|
// https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#exposing-functions
|
|
if (!function_exists('dump_with_depth')) {
|
|
function dump_with_depth() {
|
|
return \RectorPrefix202206\dump_with_depth(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('dn')) {
|
|
function dn() {
|
|
return \RectorPrefix202206\dn(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('dump_node')) {
|
|
function dump_node() {
|
|
return \RectorPrefix202206\dump_node(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('print_node')) {
|
|
function print_node() {
|
|
return \RectorPrefix202206\print_node(...func_get_args());
|
|
}
|
|
}
|
|
if (!function_exists('trigger_deprecation')) {
|
|
function trigger_deprecation() {
|
|
return \RectorPrefix202206\trigger_deprecation(...func_get_args());
|
|
}
|
|
}
|
|
|
|
return $loader;
|