aboutsummaryrefslogtreecommitdiff
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r--tests/bootstrap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index 8eb3e7a..9c6e09c 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -4,8 +4,8 @@ $vendorDir = __DIR__ . '/../../..';
if (file_exists($file = $vendorDir . '/autoload.php')) {
require_once $file;
-} else if (file_exists($file = './vendor/autoload.php')) {
+} elseif (file_exists($file = './vendor/autoload.php')) {
require_once $file;
} else {
throw new \RuntimeException("Not found composer autoload");
-} \ No newline at end of file
+}