diff options
author | Remi Collet <remi@remirepo.net> | 2020-01-08 07:39:03 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-01-08 07:39:03 +0100 |
commit | d33879ecb6e2f3108eafe06bb4de8ea03bf4121c (patch) | |
tree | 6314a9778bff162d2ef11803d88ebb74fbc854d1 /php-phpmyadmin-sql-parser5-autoload.patch | |
parent | ab1938aa95fd2d6332336566c5780f28015e2e77 (diff) |
v5.2.0
Diffstat (limited to 'php-phpmyadmin-sql-parser5-autoload.patch')
-rw-r--r-- | php-phpmyadmin-sql-parser5-autoload.patch | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/php-phpmyadmin-sql-parser5-autoload.patch b/php-phpmyadmin-sql-parser5-autoload.patch index e36b353..34a6030 100644 --- a/php-phpmyadmin-sql-parser5-autoload.patch +++ b/php-phpmyadmin-sql-parser5-autoload.patch @@ -1,16 +1,16 @@ diff -up ./bin/highlight-query.rpm ./bin/highlight-query ---- ./bin/highlight-query.rpm 2019-09-02 14:54:16.417436515 +0200 -+++ ./bin/highlight-query 2019-09-02 14:55:10.825758789 +0200 +--- ./bin/highlight-query.rpm 2020-01-08 07:34:11.970216276 +0100 ++++ ./bin/highlight-query 2020-01-08 07:35:49.464106360 +0100 @@ -2,29 +2,7 @@ <?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) { @@ -33,18 +33,18 @@ 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 2019-09-02 14:54:16.417436515 +0200 -+++ ./bin/lint-query 2019-09-02 14:55:18.682805327 +0200 +--- ./bin/lint-query.rpm 2020-01-08 07:34:11.970216276 +0100 ++++ ./bin/lint-query 2020-01-08 07:36:02.913951007 +0100 @@ -2,29 +2,7 @@ <?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) { @@ -67,18 +67,18 @@ 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 2019-09-02 14:54:16.418436521 +0200 -+++ ./bin/tokenize-query 2019-09-02 14:55:29.169867441 +0200 +--- ./bin/tokenize-query.rpm 2020-01-08 07:34:11.970216276 +0100 ++++ ./bin/tokenize-query 2020-01-08 07:36:16.233799679 +0100 @@ -2,29 +2,7 @@ <?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) { @@ -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 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 +--- ./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 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 (is_null(self::$translator)) { + if (self::$translator === null) { |