/usr/share/php/React/Promise/autoload.php is in php-react-promise 2.2.1-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | <?php
require_once __DIR__ . '/functions_include.php';
// @codingStandardsIgnoreFile
// @codeCoverageIgnoreStart
// this is an autogenerated file - do not edit
spl_autoload_register(
function($class) {
static $classes = null;
if ($classes === null) {
$classes = array(
'react\\promise\\cancellablepromiseinterface' => '/CancellablePromiseInterface.php',
'react\\promise\\deferred' => '/Deferred.php',
'react\\promise\\extendedpromiseinterface' => '/ExtendedPromiseInterface.php',
'react\\promise\\fulfilledpromise' => '/FulfilledPromise.php',
'react\\promise\\lazypromise' => '/LazyPromise.php',
'react\\promise\\promise' => '/Promise.php',
'react\\promise\\promiseinterface' => '/PromiseInterface.php',
'react\\promise\\promisorinterface' => '/PromisorInterface.php',
'react\\promise\\rejectedpromise' => '/RejectedPromise.php',
'react\\promise\\unhandledrejectionexception' => '/UnhandledRejectionException.php'
);
}
$cn = strtolower($class);
if (isset($classes[$cn])) {
require __DIR__ . $classes[$cn];
}
}
);
// @codeCoverageIgnoreEnd
|