Skip to content

Commit 06880a3

Browse files
committed
Merge branch '5.11.x'
Signed-off-by: Maurício Meneghini Fauth <[email protected]>
2 parents 6d8c215 + 4eb1510 commit 06880a3

8 files changed

+310
-40
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ LC_ALL=pl ./vendor/bin/sql-parser --lint --query "SELECT 1"
124124
```php
125125
require __DIR__ . '/vendor/autoload.php';
126126

127-
$GLOBALS['lang'] = 'pl';
127+
PhpMyAdmin\SqlParser\Translator::setLocale('pl');
128128

129129
$query1 = 'select * from a';
130130
$parser = new PhpMyAdmin\SqlParser\Parser($query1);

composer.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@
2929
"phpbench/phpbench": "^1.2",
3030
"phpmyadmin/coding-standard": "^4.0",
3131
"phpmyadmin/motranslator": "^5.3",
32-
"phpstan/extension-installer": "^1.2",
33-
"phpstan/phpstan": "^1.10",
34-
"phpstan/phpstan-phpunit": "^1.3",
32+
"phpstan/extension-installer": "^1.4",
33+
"phpstan/phpstan": "^1.12",
34+
"phpstan/phpstan-deprecation-rules": "^1.2",
35+
"phpstan/phpstan-phpunit": "^1.4",
36+
"phpstan/phpstan-strict-rules": "^1.6",
3537
"phpunit/phpunit": "^10.0",
3638
"psalm/plugin-phpunit": "^0.18.4",
3739
"vimeo/psalm": "^5.7",

0 commit comments

Comments
 (0)