aboutsummaryrefslogtreecommitdiff
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
authorBruce Wells <brucekwells@gmail.com>2020-06-03 16:59:55 +0300
committerGitHub <noreply@github.com>2020-06-03 16:59:55 +0300
commit333a52e9aa64272b0011e108714c93c0f1e0d7db (patch)
treea1f6985aa44e3af0296989435427d57bc5219add /tests/bootstrap.php
parent913cf0a1e8920dbcc18649fa173a0c7e6ba5d5ef (diff)
parentea898d7a7b85aeb677f81f13784232c99b61808a (diff)
Merge pull request #4 from neonxp/master
Latest from master
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
+}