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.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/php-phpmyadmin-sql-parser5-autoload.patch b/php-phpmyadmin-sql-parser5-autoload.patch
index 34a6030..0089c85 100644
--- a/php-phpmyadmin-sql-parser5-autoload.patch
+++ b/php-phpmyadmin-sql-parser5-autoload.patch
@@ -1,6 +1,6 @@
diff -up ./bin/highlight-query.rpm ./bin/highlight-query
---- ./bin/highlight-query.rpm 2020-01-08 07:34:11.970216276 +0100
-+++ ./bin/highlight-query 2020-01-08 07:35:49.464106360 +0100
+--- ./bin/highlight-query.rpm 2021-12-09 05:31:52.000000000 +0100
++++ ./bin/highlight-query 2021-12-09 10:49:49.580910263 +0100
@@ -2,29 +2,7 @@
<?php
declare(strict_types=1);
@@ -33,8 +33,8 @@ diff -up ./bin/highlight-query.rpm ./bin/highlight-query
$cli = new PhpMyAdmin\SqlParser\Utils\CLI();
exit($cli->runHighlight());
diff -up ./bin/lint-query.rpm ./bin/lint-query
---- ./bin/lint-query.rpm 2020-01-08 07:34:11.970216276 +0100
-+++ ./bin/lint-query 2020-01-08 07:36:02.913951007 +0100
+--- ./bin/lint-query.rpm 2021-12-09 05:31:52.000000000 +0100
++++ ./bin/lint-query 2021-12-09 10:49:49.580910263 +0100
@@ -2,29 +2,7 @@
<?php
declare(strict_types=1);
@@ -67,8 +67,8 @@ diff -up ./bin/lint-query.rpm ./bin/lint-query
$cli = new PhpMyAdmin\SqlParser\Utils\CLI();
exit($cli->runLint());
diff -up ./bin/tokenize-query.rpm ./bin/tokenize-query
---- ./bin/tokenize-query.rpm 2020-01-08 07:34:11.970216276 +0100
-+++ ./bin/tokenize-query 2020-01-08 07:36:16.233799679 +0100
+--- ./bin/tokenize-query.rpm 2021-12-09 05:31:52.000000000 +0100
++++ ./bin/tokenize-query 2021-12-09 10:49:49.580910263 +0100
@@ -2,29 +2,7 @@
<?php
declare(strict_types=1);
@@ -101,9 +101,9 @@ diff -up ./bin/tokenize-query.rpm ./bin/tokenize-query
$cli = new PhpMyAdmin\SqlParser\Utils\CLI();
exit($cli->runTokenize());
diff -up ./src/Translator.php.rpm ./src/Translator.php
---- ./src/Translator.php.rpm 2020-01-08 07:34:11.970216276 +0100
-+++ ./src/Translator.php 2020-01-08 07:37:02.060280464 +0100
-@@ -42,7 +42,7 @@ class Translator
+--- ./src/Translator.php.rpm 2021-12-09 10:49:49.580910263 +0100
++++ ./src/Translator.php 2021-12-09 10:50:32.375725681 +0100
+@@ -45,7 +45,7 @@ class Translator
self::$loader->textdomain('sqlparser');
// Set path where to look for a domain
@@ -111,4 +111,4 @@ diff -up ./src/Translator.php.rpm ./src/Translator.php
+ self::$loader->bindtextdomain('sqlparser', __DIR__ . '/locale/');
}
- if (self::$translator === null) {
+ if (self::$translator !== null) {