From ea898d7a7b85aeb677f81f13784232c99b61808a Mon Sep 17 00:00:00 2001 From: Alexander Kiryukhin Date: Mon, 1 Jun 2020 03:50:39 +0300 Subject: Code style fixes & Github Actions (#65) * Code style fixes Up phpunit to v8 New CI * Remove travis * Fix CI badge * Added php-cs-fixer action --- tests/bootstrap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/bootstrap.php') 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 +} -- cgit v1.2.3