<?php

$loader = require __DIR__.'/../vendor/autoload.php';
$loader->addPsr4('React\\Promise\\', __DIR__);

<?php

$loader = @include __DIR__.'/../vendor/autoload.php';
if (!$loader) {
    $loader = require __DIR__.'/../../../../vendor/autoload.php';
}
$loader->addPsr4('React\\Promise\\', __DIR__);

Configure tests to run when included as a dependency
Configure tests to run when included as a dependency
