| 1 |
<?php |
| 2 |
|
| 3 |
// scoper-autoload.php @generated by PhpScoper |
| 4 |
|
| 5 |
$loader = (static function () { |
| 6 |
// Backup the autoloaded Composer files |
| 7 |
$existingComposerAutoloadFiles = isset($GLOBALS['__composer_autoload_files']) ? $GLOBALS['__composer_autoload_files'] : []; |
| 8 |
|
| 9 |
$loader = require_once __DIR__.'/autoload.php'; |
| 10 |
// Ensure InstalledVersions is available |
| 11 |
$installedVersionsPath = __DIR__.'/composer/InstalledVersions.php'; |
| 12 |
if (file_exists($installedVersionsPath)) require_once $installedVersionsPath; |
| 13 |
|
| 14 |
// Restore the backup and ensure the excluded files are properly marked as loaded |
| 15 |
$GLOBALS['__composer_autoload_files'] = \array_merge( |
| 16 |
$existingComposerAutoloadFiles, |
| 17 |
\array_fill_keys([], true) |
| 18 |
); |
| 19 |
|
| 20 |
return $loader; |
| 21 |
})(); |
| 22 |
|
| 23 |
// Class aliases. For more information see: |
| 24 |
// https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#class-aliases |
| 25 |
if (!function_exists('humbug_phpscoper_expose_class')) { |
| 26 |
function humbug_phpscoper_expose_class($exposed, $prefixed) { |
| 27 |
if (!class_exists($exposed, false) && !interface_exists($exposed, false) && !trait_exists($exposed, false)) { |
| 28 |
spl_autoload_call($prefixed); |
| 29 |
} |
| 30 |
} |
| 31 |
} |
| 32 |
humbug_phpscoper_expose_class('ComposerAutoloaderInit0d5d023c13cb79887329403f8fe3eabb', 'BerqWP_Deps\ComposerAutoloaderInit0d5d023c13cb79887329403f8fe3eabb'); |
| 33 |
humbug_phpscoper_expose_class('PhpToken', 'BerqWP_Deps\PhpToken'); |
| 34 |
humbug_phpscoper_expose_class('ValueError', 'BerqWP_Deps\ValueError'); |
| 35 |
humbug_phpscoper_expose_class('Attribute', 'BerqWP_Deps\Attribute'); |
| 36 |
humbug_phpscoper_expose_class('UnhandledMatchError', 'BerqWP_Deps\UnhandledMatchError'); |
| 37 |
humbug_phpscoper_expose_class('Stringable', 'BerqWP_Deps\Stringable'); |
| 38 |
|
| 39 |
// Function aliases. For more information see: |
| 40 |
// https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#function-aliases |
| 41 |
if (!function_exists('fdiv')) { function fdiv() { return \BerqWP_Deps\fdiv(...func_get_args()); } } |
| 42 |
if (!function_exists('get_debug_type')) { function get_debug_type() { return \BerqWP_Deps\get_debug_type(...func_get_args()); } } |
| 43 |
if (!function_exists('get_resource_id')) { function get_resource_id() { return \BerqWP_Deps\get_resource_id(...func_get_args()); } } |
| 44 |
if (!function_exists('getallheaders')) { function getallheaders() { return \BerqWP_Deps\getallheaders(...func_get_args()); } } |
| 45 |
if (!function_exists('preg_last_error_msg')) { function preg_last_error_msg() { return \BerqWP_Deps\preg_last_error_msg(...func_get_args()); } } |
| 46 |
if (!function_exists('str_contains')) { function str_contains() { return \BerqWP_Deps\str_contains(...func_get_args()); } } |
| 47 |
if (!function_exists('str_ends_with')) { function str_ends_with() { return \BerqWP_Deps\str_ends_with(...func_get_args()); } } |
| 48 |
if (!function_exists('str_starts_with')) { function str_starts_with() { return \BerqWP_Deps\str_starts_with(...func_get_args()); } } |
| 49 |
if (!function_exists('trigger_deprecation')) { function trigger_deprecation() { return \BerqWP_Deps\trigger_deprecation(...func_get_args()); } } |
| 50 |
|
| 51 |
return $loader; |
| 52 |
|