* Update sqlparser to fit php8.

This commit is contained in:
songchenxuan
2024-03-20 09:10:47 +08:00
committed by liyang
parent 380f1d530b
commit f297325727
663 changed files with 140347 additions and 16174 deletions
+3 -3
View File
@@ -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());