diff options
author | William Desportes <williamdes@wdes.fr> | 2019-12-31 21:01:35 +0100 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2019-12-31 21:01:40 +0100 |
commit | 32e2949754149176a1815ea00c2e9ec2ba29e5bd (patch) | |
tree | e0f648490faa25df68b7458cc121462a381f8fac /bin | |
parent | 9ed9cc371543b0ebbca206b484ce8717f7b19d2f (diff) | |
download | sql-parser-32e2949754149176a1815ea00c2e9ec2ba29e5bd.zip sql-parser-32e2949754149176a1815ea00c2e9ec2ba29e5bd.tar.gz sql-parser-32e2949754149176a1815ea00c2e9ec2ba29e5bd.tar.bz2 |
Remove left overs of old array syntax
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/highlight-query | 4 | ||||
-rwxr-xr-x | bin/lint-query | 4 | ||||
-rwxr-xr-x | bin/tokenize-query | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/bin/highlight-query b/bin/highlight-query index a25a3e2..53d380f 100755 --- a/bin/highlight-query +++ b/bin/highlight-query @@ -2,12 +2,12 @@ <?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) { diff --git a/bin/lint-query b/bin/lint-query index 8d7cd29..1fe12f2 100755 --- a/bin/lint-query +++ b/bin/lint-query @@ -2,12 +2,12 @@ <?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) { diff --git a/bin/tokenize-query b/bin/tokenize-query index 97012c7..e1a55f6 100755 --- a/bin/tokenize-query +++ b/bin/tokenize-query @@ -2,12 +2,12 @@ <?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) { |