From f2fb7c81bdc8082f7bee0d4a7312d860dd80db2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Bl=C3=A4ul?= Date: Sun, 18 Feb 2018 19:34:06 +0100 Subject: [PATCH] Absolute path in require do stop PhpStorm from nagging (PhpStorm couldn't find the file) --- tests/Bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php index 88df893..797e5b4 100644 --- a/tests/Bootstrap.php +++ b/tests/Bootstrap.php @@ -4,7 +4,7 @@ if (!file_exists('vendor/autoload.php')) { `composer dump-autoload`; } -require './vendor/autoload.php'; +require __DIR__ . '/../vendor/autoload.php'; if (!class_exists('PHPUnit\Framework\TestCase')) { // we run on an older PHPUnit version without namespaces.