Skip to content

Commit f7ccb24

Browse files
committed
Require phpstan ^2.2 and drop the two stale implode baseline entries
The PhpStan check in .laminas-ci.json runs on latest dependencies, so it picks up phpstan 2.2, which no longer reports the two implode argument.type errors in Metadata\Source. The baseline still ignored them, so the job failed on ignore.unmatched, which is non-ignorable. 2.1 does still report them, so the entries cannot simply be removed while the lock stays on 2.1; require-dev moves to ^2.2 so both the locked and latest jobs analyse with a version that agrees. Pre-existing on 0.1.x, and unrelated to getQueryResult, but it fails this PR's CI.
1 parent 88681e7 commit f7ccb24

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"ext-pdo_pgsql": "*",
3838
"ext-pgsql": "*",
3939
"laminas/laminas-coding-standard": "^3.0.1",
40-
"phpstan/phpstan": "^2.1",
40+
"phpstan/phpstan": "^2.2",
4141
"phpstan/phpstan-phpunit": "^2.0",
4242
"phpunit/phpunit": "^11.5.42"
4343
},

‎composer.lock‎

Lines changed: 16 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎phpstan-baseline.neon‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,3 @@ parameters:
66
count: 1
77
path: src/Container/ConnectionInterfaceFactory.php
88

9-
-
10-
message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<int, array\<int\|string, string\>\> given\.$#'
11-
identifier: argument.type
12-
count: 1
13-
path: src/Metadata/Source.php
14-
15-
-
16-
message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<int, list\<string\>\> given\.$#'
17-
identifier: argument.type
18-
count: 1
19-
path: src/Metadata/Source.php

0 commit comments

Comments
 (0)