summaryrefslogtreecommitdiffstats
path: root/php-phpmyadmin-sql-parser5-autoload.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-phpmyadmin-sql-parser5-autoload.patch')
-rw-r--r--php-phpmyadmin-sql-parser5-autoload.patch34
1 files changed, 17 insertions, 17 deletions
diff --git a/php-phpmyadmin-sql-parser5-autoload.patch b/php-phpmyadmin-sql-parser5-autoload.patch
index 3cea924..e36b353 100644
--- a/php-phpmyadmin-sql-parser5-autoload.patch
+++ b/php-phpmyadmin-sql-parser5-autoload.patch
@@ -1,9 +1,9 @@
diff -up ./bin/highlight-query.rpm ./bin/highlight-query
---- ./bin/highlight-query.rpm 2019-06-03 14:32:07.000000000 +0200
-+++ ./bin/highlight-query 2019-06-04 19:06:37.085484476 +0200
-@@ -1,29 +1,7 @@
- #!/usr/bin/env php
+--- ./bin/highlight-query.rpm 2019-09-02 14:54:16.417436515 +0200
++++ ./bin/highlight-query 2019-09-02 14:55:10.825758789 +0200
+@@ -2,29 +2,7 @@
<?php
+ declare(strict_types=1);
-$files = array(
- __DIR__ . "/../vendor/autoload.php",
@@ -28,16 +28,16 @@ diff -up ./bin/highlight-query.rpm ./bin/highlight-query
- "php composer.phar install" . PHP_EOL
- );
-}
-+require '/usr/share/php/PhpMyAdmin/SqlParser/autoload.php';
++require '/usr/share/php/PhpMyAdmin/SqlParser5/autoload.php';
$cli = new PhpMyAdmin\SqlParser\Utils\CLI();
exit($cli->runHighlight());
diff -up ./bin/lint-query.rpm ./bin/lint-query
---- ./bin/lint-query.rpm 2019-06-03 14:32:07.000000000 +0200
-+++ ./bin/lint-query 2019-06-04 19:06:37.085484476 +0200
-@@ -1,29 +1,7 @@
- #!/usr/bin/env php
+--- ./bin/lint-query.rpm 2019-09-02 14:54:16.417436515 +0200
++++ ./bin/lint-query 2019-09-02 14:55:18.682805327 +0200
+@@ -2,29 +2,7 @@
<?php
+ declare(strict_types=1);
-$files = array(
- __DIR__ . "/../vendor/autoload.php",
@@ -62,16 +62,16 @@ diff -up ./bin/lint-query.rpm ./bin/lint-query
- "php composer.phar install" . PHP_EOL
- );
-}
-+require '/usr/share/php/PhpMyAdmin/SqlParser/autoload.php';
++require '/usr/share/php/PhpMyAdmin/SqlParser5/autoload.php';
$cli = new PhpMyAdmin\SqlParser\Utils\CLI();
exit($cli->runLint());
diff -up ./bin/tokenize-query.rpm ./bin/tokenize-query
---- ./bin/tokenize-query.rpm 2019-06-04 19:08:04.886758030 +0200
-+++ ./bin/tokenize-query 2019-06-04 19:08:09.025766484 +0200
-@@ -1,29 +1,7 @@
- #!/usr/bin/env php
+--- ./bin/tokenize-query.rpm 2019-09-02 14:54:16.418436521 +0200
++++ ./bin/tokenize-query 2019-09-02 14:55:29.169867441 +0200
+@@ -2,29 +2,7 @@
<?php
+ declare(strict_types=1);
-$files = array(
- __DIR__ . "/../vendor/autoload.php",
@@ -96,13 +96,13 @@ diff -up ./bin/tokenize-query.rpm ./bin/tokenize-query
- "php composer.phar install" . PHP_EOL
- );
-}
-+require '/usr/share/php/PhpMyAdmin/SqlParser/autoload.php';
++require '/usr/share/php/PhpMyAdmin/SqlParser5/autoload.php';
$cli = new PhpMyAdmin\SqlParser\Utils\CLI();
exit($cli->runTokenize());
diff -up ./src/Translator.php.rpm ./src/Translator.php
---- ./src/Translator.php.rpm 2019-06-03 14:32:07.000000000 +0200
-+++ ./src/Translator.php 2019-06-04 19:06:37.085484476 +0200
+--- ./src/Translator.php.rpm 2019-05-10 02:57:14.000000000 +0200
++++ ./src/Translator.php 2019-09-02 14:54:16.418436521 +0200
@@ -40,7 +40,7 @@ class Translator
self::$loader->textdomain('sqlparser');