diff options
Diffstat (limited to 'bin/lint-query')
-rwxr-xr-x | bin/lint-query | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/lint-query b/bin/lint-query index 67e7114..1fe12f2 100755 --- a/bin/lint-query +++ b/bin/lint-query @@ -1,12 +1,13 @@ #!/usr/bin/env php <?php +declare(strict_types=1); -$files = array( +$files = [ __DIR__ . "/../vendor/autoload.php", __DIR__ . "/../../vendor/autoload.php", __DIR__ . "/../../../autoload.php", "vendor/autoload.php" -); +]; $found = false; foreach ($files as $file) { @@ -27,4 +28,3 @@ if (!$found) { $cli = new PhpMyAdmin\SqlParser\Utils\CLI(); exit($cli->runLint()); - |