Absolute path in require do stop PhpStorm from nagging

(PhpStorm couldn't find the file)
This commit is contained in:
Christian Bläul
2018-02-18 19:34:06 +01:00
parent 92653c99c5
commit f2fb7c81bd

View File

@@ -4,7 +4,7 @@ if (!file_exists('vendor/autoload.php')) {
`composer dump-autoload`; `composer dump-autoload`;
} }
require './vendor/autoload.php'; require __DIR__ . '/../vendor/autoload.php';
if (!class_exists('PHPUnit\Framework\TestCase')) { if (!class_exists('PHPUnit\Framework\TestCase')) {
// we run on an older PHPUnit version without namespaces. // we run on an older PHPUnit version without namespaces.