aboutsummaryrefslogtreecommitdiff
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
authorBruce Wells <brucekwells@gmail.com>2022-04-27 00:31:50 +0300
committerGitHub <noreply@github.com>2022-04-27 00:31:50 +0300
commitb7b46bfc476ea0d22e0e92144f68aa81d390fff0 (patch)
treeb89329b67b35a90a59373acfd25f2774b82008a6 /tests/bootstrap.php
parentc396a882ffa5f7467947a6a19c2435a7b4cbad22 (diff)
Phpcs fixer (#103)
* Configuring PHP CS Fixer Dropping PHP 7,3 support * Fixing merge issue
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r--tests/bootstrap.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index 9c6e09c..85cee64 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -2,10 +2,10 @@
$vendorDir = __DIR__ . '/../../..';
-if (file_exists($file = $vendorDir . '/autoload.php')) {
+if (\file_exists($file = $vendorDir . '/autoload.php')) {
require_once $file;
-} elseif (file_exists($file = './vendor/autoload.php')) {
+} elseif (\file_exists($file = './vendor/autoload.php')) {
require_once $file;
} else {
- throw new \RuntimeException("Not found composer autoload");
+ throw new \RuntimeException('Not found composer autoload');
}