We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c0f9c44 + 0fa5c06 commit eef64bbCopy full SHA for eef64bb
phpqa
@@ -1,7 +1,12 @@
1
#!/usr/bin/env php
2
<?php
3
4
-require_once __DIR__ . "/vendor/autoload.php";
+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
+
10
require_once __DIR__ . "/RoboFile.php";
11
12
$isNotToolsCommand = !(count($argv) >= 2 && $argv[1] == 'tools');
0 commit comments