Skip to content

Commit eef64bb

Browse files
committed
Merge branch 'release/v1.0.2'
2 parents c0f9c44 + 0fa5c06 commit eef64bb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

phpqa

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
#!/usr/bin/env php
22
<?php
33

4-
require_once __DIR__ . "/vendor/autoload.php";
4+
if (file_exists(__DIR__ . '/vendor/autoload.php')) {
5+
require_once __DIR__ . '/vendor/autoload.php';
6+
} elseif (file_exists(__DIR__ . '/../../autoload.php')) {
7+
require_once __DIR__ . '/../../autoload.php';
8+
}
9+
510
require_once __DIR__ . "/RoboFile.php";
611

712
$isNotToolsCommand = !(count($argv) >= 2 && $argv[1] == 'tools');

0 commit comments

Comments
 (0)