- Created CHANGELOG.md to maintain version history. - Added README.md with usage instructions for the trigger_deprecation() function. - Initialized composer.json for the Symfony Deprecation Contracts library, specifying dependencies and autoloading.
24 lines
860 B
PHP
24 lines
860 B
PHP
<?php
|
|
|
|
// autoload.php @generated by Composer
|
|
if (PHP_VERSION_ID < 50600) {
|
|
if (!headers_sent()) {
|
|
header('HTTP/1.1 500 Internal Server Error');
|
|
}
|
|
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running ' . PHP_VERSION . ', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.' . PHP_EOL;
|
|
if (!ini_get('display_errors')) {
|
|
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
|
|
fwrite(STDERR, $err);
|
|
} elseif (!headers_sent()) {
|
|
echo $err;
|
|
}
|
|
}
|
|
throw new RuntimeException($err);
|
|
}
|
|
|
|
if (file_exists(__DIR__ . '/../deps/autoload.php')) {
|
|
require_once __DIR__ . '/../deps/autoload.php';
|
|
}
|
|
|
|
require_once __DIR__ . '/composer/autoload_real.php';
|
|
return ComposerAutoloaderInitec1a73316f7c92d3ccef54b8d0420c77::getLoader(); |