<?php
$ds = DIRECTORY_SEPARATOR;
include __DIR__ . $ds . ".." . $ds . "vendor" . $ds . "autoload.php";

<?php
$ds = DIRECTORY_SEPARATOR;
$paths = array(
    ".." . $ds . "vendor",
    ".." . $ds . ".." . $ds . ".."
);
foreach ($paths as $path) {
    $abspath = __DIR__ . $ds . $path . $ds . "autoload.php";
    if (file_exists($abspath)) {
        require_once $abspath;
        break;
    }
}

Allow tests execution even when the library is downloaded as a composer package
Allow tests execution even when the library is downloaded as a composer package
