Skip to content

Commit 9ce26b9

Browse files
committed
Upgrade phpstan
Signed-off-by: William Desportes <[email protected]>
1 parent 29ce64e commit 9ce26b9

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"phpmyadmin/coding-standard": "^2.0",
2424
"phpmyadmin/motranslator": "^4.0 || ^5.0",
2525
"phpstan/extension-installer": "^1.0",
26-
"phpstan/phpstan": "^0.12.3",
27-
"phpstan/phpstan-phpunit": "^0.12.1",
26+
"phpstan/phpstan": "^0.12.40",
27+
"phpstan/phpstan-phpunit": "^0.12.16",
2828
"phpunit/php-code-coverage": "*",
2929
"phpunit/phpunit": "^7.4 || ^8 || ^9"
3030
},

phpstan-baseline.neon

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,16 +1180,6 @@ parameters:
11801180
count: 1
11811181
path: src/Statement.php
11821182

1183-
-
1184-
message: "#^Parameter \\#3 \\$clause of static method PhpMyAdmin\\\\SqlParser\\\\Utils\\\\Query\\:\\:getClauseStartOffset\\(\\) expects string, int\\|string given\\.$#"
1185-
count: 1
1186-
path: src/Statement.php
1187-
1188-
-
1189-
message: "#^Parameter \\#1 \\$haystack of function stripos expects string, int\\|string given\\.$#"
1190-
count: 3
1191-
path: src/Statement.php
1192-
11931183
-
11941184
message: "#^Property PhpMyAdmin\\\\SqlParser\\\\Statements\\\\AlterStatement\\:\\:\\$OPTIONS type has no value type specified in iterable type array\\.$#"
11951185
count: 1

0 commit comments

Comments
 (0)