ea898d7a7b
* Code style fixes Up phpunit to v8 New CI * Remove travis * Fix CI badge * Added php-cs-fixer action
12 lines
282 B
PHP
12 lines
282 B
PHP
<?php
|
|
|
|
$vendorDir = __DIR__ . '/../../..';
|
|
|
|
if (file_exists($file = $vendorDir . '/autoload.php')) {
|
|
require_once $file;
|
|
} elseif (file_exists($file = './vendor/autoload.php')) {
|
|
require_once $file;
|
|
} else {
|
|
throw new \RuntimeException("Not found composer autoload");
|
|
}
|