Skip to content

Commit 382f6e1

Browse files
committed
ci: add to the PHPStan baseline the error symfony/dependency-injection 8.2 reports on 4.2.x
symfony/dependency-injection 8.2.0 declares the $config argument of ContainerBuilder::prependExtensionConfig() as array<string, mixed>, while ConfigurationHelper::updateJoseConfiguration() passes an array<mixed>. The Static Analysis job therefore fails on 4.2.x whatever the change, and the tests it gates are skipped. 4.3.x got the same entry in #832. The baseline, generated by castor phpstan-baseline with the current image, gains that entry and nothing else.
1 parent 06d3de8 commit 382f6e1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎.ci-tools/phpstan-baseline.neon‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3906,6 +3906,12 @@ parameters:
39063906
count: 1
39073907
path: ../src/Bundle/Helper/ConfigurationHelper.php
39083908

3909+
-
3910+
rawMessage: 'Parameter #2 $config of method Symfony\Component\DependencyInjection\ContainerBuilder::prependExtensionConfig() expects array<string, mixed>, array<mixed> given.'
3911+
identifier: argument.type
3912+
count: 1
3913+
path: ../src/Bundle/Helper/ConfigurationHelper.php
3914+
39093915
-
39103916
rawMessage: 'Parameter #2 ...$arrays of function array_merge expects array, mixed given.'
39113917
identifier: argument.type

0 commit comments

Comments
 (0)