Skip to content

Commit

Permalink
Update phpstan baseline to ignore more Kernel errors and differences …
Browse files Browse the repository at this point in the history
…between versions
  • Loading branch information
andytson-inviqa committed Jan 19, 2023
1 parent 87a2ba4 commit 966ff94
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions src/akeneo/application/skeleton/phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$arr1 of function array_merge expects array, array\\<int, string\\>\\|false given\\.$#"
count: 1
path: src/Kernel.php

-
message: "#^Parameter \\#2 \\.\\.\\.\\$args of function array_merge expects array, array\\<int, string\\>\\|false given\\.$#"
count: 1
path: src/Kernel.php

-
message: "#^Parameter \\#3 \\.\\.\\.\\$args of function array_merge expects array, array\\<int, string\\>\\|false given\\.$#"
count: 1
path: src/Kernel.php
ignoreErrors:
- message: "#^Parameter \\#\\d .* of function array_merge expects array, array\\<int, string\\>\\|false given\\.$#"
count: 1
path: src/Kernel.php
- message: "Generator expects value type Symfony\\\\Component\\\\HttpKernel\\\\Bundle\\\\BundleInterface, object given."
count: 1
path: src/Kernel.php

0 comments on commit 966ff94

Please sign in to comment.