aboutsummaryrefslogtreecommitdiff
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
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');
}