27 lines
1,005 B
PHP
27 lines
1,005 B
PHP
<?php
|
|
|
|
// scoper-autoload.php @generated by PhpScoper
|
|
|
|
$loader = (static function () {
|
|
// Backup the autoloaded Composer files
|
|
$existingComposerAutoloadFiles = $GLOBALS['__composer_autoload_files'] ?? [];
|
|
|
|
$loader = require_once __DIR__.'/autoload.php';
|
|
// Ensure InstalledVersions is available
|
|
$installedVersionsPath = __DIR__.'/composer/InstalledVersions.php';
|
|
if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
|
|
|
|
// Restore the backup and ensure the excluded files are properly marked as loaded
|
|
$GLOBALS['__composer_autoload_files'] = \array_merge(
|
|
$existingComposerAutoloadFiles,
|
|
\array_fill_keys([], true)
|
|
);
|
|
|
|
return $loader;
|
|
})();
|
|
|
|
// Function aliases. For more information see:
|
|
// https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#function-aliases
|
|
if (!function_exists('getallheaders')) { function getallheaders() { return \WpifyWooDeps\getallheaders(...func_get_args()); } }
|
|
|
|
return $loader;
|