aboutsummaryrefslogtreecommitdiff
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
authorAlexander Kiryukhin <a.kiryukhin@mail.ru>2020-06-01 03:50:39 +0300
committerGitHub <noreply@github.com>2020-06-01 03:50:39 +0300
commitea898d7a7b85aeb677f81f13784232c99b61808a (patch)
treea1f6985aa44e3af0296989435427d57bc5219add /tests/bootstrap.php
parent7852fc7d04bcdb3aa60384a1f6dddfd637fedd70 (diff)
Code style fixes & Github Actions (#65)V2.0.2
* Code style fixes Up phpunit to v8 New CI * Remove travis * Fix CI badge * Added php-cs-fixer action
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
+}