xref: /plugin/upgrade/myvendor/autoload.php (revision ab8e5256dbaece2751c4414d6cf7b761cb71998a)
1*ab8e5256SAndreas Gohr<?php
2*ab8e5256SAndreas Gohr
3*ab8e5256SAndreas Gohr// autoload.php @generated by Composer
4*ab8e5256SAndreas Gohr
5*ab8e5256SAndreas Gohrif (PHP_VERSION_ID < 50600) {
6*ab8e5256SAndreas Gohr    if (!headers_sent()) {
7*ab8e5256SAndreas Gohr        header('HTTP/1.1 500 Internal Server Error');
8*ab8e5256SAndreas Gohr    }
9*ab8e5256SAndreas Gohr    $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;
10*ab8e5256SAndreas Gohr    if (!ini_get('display_errors')) {
11*ab8e5256SAndreas Gohr        if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
12*ab8e5256SAndreas Gohr            fwrite(STDERR, $err);
13*ab8e5256SAndreas Gohr        } elseif (!headers_sent()) {
14*ab8e5256SAndreas Gohr            echo $err;
15*ab8e5256SAndreas Gohr        }
16*ab8e5256SAndreas Gohr    }
17*ab8e5256SAndreas Gohr    throw new RuntimeException($err);
18*ab8e5256SAndreas Gohr}
19*ab8e5256SAndreas Gohr
20*ab8e5256SAndreas Gohrrequire_once __DIR__ . '/composer/autoload_real.php';
21*ab8e5256SAndreas Gohr
22*ab8e5256SAndreas Gohrreturn ComposerAutoloaderInit0fdacd54c0d93f3cc04dc55498ad4a6e::getLoader();
23