Skip to content

Commit 684e3ee

Browse files
committed
-
1 parent 268ef19 commit 684e3ee

File tree

1 file changed

+2
-26
lines changed

1 file changed

+2
-26
lines changed

phpstan-baseline.neon

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
parameters:
22
ignoreErrors:
3-
-
4-
message: '#^Parameter \#1 \$headers of static method Storyblok\\Api\\Domain\\Value\\Total\:\:fromHeaders\(\) expects array\<string, list\<string\>\>, array\<array\<string\>\> given\.$#'
5-
identifier: argument.type
6-
count: 4
7-
path: src/DatasourceEntriesApi.php
8-
9-
-
10-
message: '#^Parameter \#1 \$headers of static method Storyblok\\Api\\Domain\\Value\\Total\:\:fromHeaders\(\) expects array\<string, list\<string\>\>, array\<array\<string\>\> given\.$#'
11-
identifier: argument.type
12-
count: 1
13-
path: src/DatasourcesApi.php
14-
153
-
164
message: '#^Property Storyblok\\Api\\Domain\\Value\\Datasource\:\:\$dimensions \(list\<Storyblok\\Api\\Domain\\Value\\DatasourceDimension\>\) does not accept array\<Storyblok\\Api\\Domain\\Value\\DatasourceDimension\>\.$#'
175
identifier: assign.propertyType
@@ -43,8 +31,8 @@ parameters:
4331
path: src/Domain/Value/IdCollection.php
4432

4533
-
46-
message: '#^PHPDoc tag @var has invalid value \(list\<LinkAlternate\>1\)\: Unexpected token "1", expected TOKEN_HORIZONTAL_WS at offset 35 on line 2$#'
47-
identifier: phpDoc.parseError
34+
message: '#^Property Storyblok\\Api\\Domain\\Value\\Link\:\:\$alternates \(list\<Storyblok\\Api\\Domain\\Value\\LinkAlternate\>\) does not accept array\<Storyblok\\Api\\Domain\\Value\\LinkAlternate\>\.$#'
35+
identifier: assign.propertyType
4836
count: 1
4937
path: src/Domain/Value/Link.php
5038

@@ -60,12 +48,6 @@ parameters:
6048
count: 1
6149
path: src/Domain/Value/Tag/TagCollection.php
6250

63-
-
64-
message: '#^Parameter \#1 \$headers of static method Storyblok\\Api\\Domain\\Value\\Total\:\:fromHeaders\(\) expects array\<string, list\<string\>\>, array\<array\<string\>\> given\.$#'
65-
identifier: argument.type
66-
count: 3
67-
path: src/LinksApi.php
68-
6951
-
7052
message: '#^Method Storyblok\\Api\\Request\\StoriesRequest\:\:toArray\(\) should return array\{language\: string, page\: int, per_page\: int, sort_by\?\: string, filter_query\?\: list\<mixed\>, with_tag\?\: string, excluding_fields\?\: string, excluding_ids\?\: string, \.\.\.\} but returns array\{language\: string, page\: int, per_page\: int, sort_by\?\: string, filter_query\?\: array, with_tag\?\: string, excluding_fields\?\: string, excluding_ids\?\: string, \.\.\.\}\.$#'
7153
identifier: return.type
@@ -90,12 +72,6 @@ parameters:
9072
count: 1
9173
path: src/Response/TagsResponse.php
9274

93-
-
94-
message: '#^Parameter \#1 \$headers of static method Storyblok\\Api\\Domain\\Value\\Total\:\:fromHeaders\(\) expects array\<string, list\<string\>\>, array\<array\<string\>\> given\.$#'
95-
identifier: argument.type
96-
count: 2
97-
path: src/StoriesApi.php
98-
9975
-
10076
message: '#^Cannot call method format\(\) on DateTimeImmutable\|null\.$#'
10177
identifier: method.nonObject

0 commit comments

Comments
 (0)