HEX
Server: Apache/2.2.22
System: Linux server1.blueharbor.com 3.10.0-1160.90.1.vz7.200.7 #1 SMP Wed Jul 12 12:00:44 MSK 2023 x86_64
User: locglobe (1004)
PHP: 5.6.37
Disabled: NONE
Upload Files
File: //usr/local/cwpsrv/var/services/pma_03-08-2021.bak/vendor/bin/lint-query
#!/usr/bin/env php
<?php

$files = array(
    __DIR__ . "/../vendor/autoload.php",
    __DIR__ . "/../../vendor/autoload.php",
    __DIR__ . "/../../../autoload.php",
    "vendor/autoload.php"
);

$found = false;
foreach ($files as $file) {
    if (file_exists($file)) {
        require_once $file;
        $found = true;
        break;
    }
}

if (!$found) {
    die(
        "You need to set up the project dependencies using the following commands:" . PHP_EOL .
        "curl -sS https://getcomposer.org/installer | php" . PHP_EOL .
        "php composer.phar install" . PHP_EOL
    );
}

$cli = new PhpMyAdmin\SqlParser\Utils\CLI();
exit($cli->runLint());