-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
113 lines (95 loc) · 5.71 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
parameters:
ignoreErrors:
-
message: '#^Property Storyblok\\Api\\Domain\\Value\\Datasource\:\:\$dimensions \(list\<Storyblok\\Api\\Domain\\Value\\DatasourceDimension\>\) does not accept array\<Storyblok\\Api\\Domain\\Value\\DatasourceDimension\>\.$#'
identifier: assign.propertyType
count: 1
path: src/Domain/Value/Datasource.php
-
message: '#^Property Storyblok\\Api\\Domain\\Value\\Field\\FieldCollection\:\:\$items \(list\<Storyblok\\Api\\Domain\\Value\\Field\\Field\>\) does not accept array\<int\<0, max\>, Storyblok\\Api\\Domain\\Value\\Field\\Field\>\.$#'
identifier: assign.propertyType
count: 1
path: src/Domain/Value/Field/FieldCollection.php
-
message: '#^PHPDoc tag @return contains unresolvable type\.$#'
identifier: return.unresolvableType
count: 1
path: src/Domain/Value/Filter/FilterCollection.php
-
message: '#^Property Storyblok\\Api\\Domain\\Value\\Filter\\FilterCollection\:\:\$items \(list\<Storyblok\\Api\\Domain\\Value\\Filter\\Filters\\Filter\>\) does not accept array\<int\<0, max\>, Storyblok\\Api\\Domain\\Value\\Filter\\Filters\\Filter\>\.$#'
identifier: assign.propertyType
count: 1
path: src/Domain/Value/Filter/FilterCollection.php
-
message: '#^Property Storyblok\\Api\\Domain\\Value\\IdCollection\:\:\$items \(list\<Storyblok\\Api\\Domain\\Value\\Id\>\) does not accept array\<int\<0, max\>, Storyblok\\Api\\Domain\\Value\\Id\>\.$#'
identifier: assign.propertyType
count: 1
path: src/Domain/Value/IdCollection.php
-
message: '#^Property Storyblok\\Api\\Domain\\Value\\Link\:\:\$alternates \(list\<Storyblok\\Api\\Domain\\Value\\LinkAlternate\>\) does not accept array\<Storyblok\\Api\\Domain\\Value\\LinkAlternate\>\.$#'
identifier: assign.propertyType
count: 1
path: src/Domain/Value/Link.php
-
message: '#^Property Storyblok\\Api\\Domain\\Value\\Resolver\\RelationCollection\:\:\$items \(list\<Storyblok\\Api\\Domain\\Value\\Resolver\\Relation\>\) does not accept array\<int\<0, max\>, Storyblok\\Api\\Domain\\Value\\Resolver\\Relation\>\.$#'
identifier: assign.propertyType
count: 1
path: src/Domain/Value/Resolver/RelationCollection.php
-
message: '#^Property Storyblok\\Api\\Domain\\Value\\Tag\\TagCollection\:\:\$items \(list\<Storyblok\\Api\\Domain\\Value\\Tag\\Tag\>\) does not accept array\<int\<0, max\>, Storyblok\\Api\\Domain\\Value\\Tag\\Tag\>\.$#'
identifier: assign.propertyType
count: 1
path: src/Domain/Value/Tag/TagCollection.php
-
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, \.\.\.\}\.$#'
identifier: return.type
count: 1
path: src/Request/StoriesRequest.php
-
message: '#^Property Storyblok\\Api\\Response\\DatasourceEntriesResponse\:\:\$datasourceEntries \(list\<Storyblok\\Api\\Domain\\Value\\DatasourceEntry\>\) does not accept array\<Storyblok\\Api\\Domain\\Value\\DatasourceEntry\>\.$#'
identifier: assign.propertyType
count: 1
path: src/Response/DatasourceEntriesResponse.php
-
message: '#^Property Storyblok\\Api\\Response\\DatasourcesResponse\:\:\$datasources \(list\<Storyblok\\Api\\Domain\\Value\\Datasource\>\) does not accept array\<Storyblok\\Api\\Domain\\Value\\Datasource\>\.$#'
identifier: assign.propertyType
count: 1
path: src/Response/DatasourcesResponse.php
-
message: '#^Property Storyblok\\Api\\Response\\TagsResponse\:\:\$tags \(list\<Storyblok\\Api\\Domain\\Value\\Tag\>\) does not accept array\<Storyblok\\Api\\Domain\\Value\\Tag\>\.$#'
identifier: assign.propertyType
count: 1
path: src/Response/TagsResponse.php
-
message: '#^Cannot call method format\(\) on DateTimeImmutable\|null\.$#'
identifier: method.nonObject
count: 1
path: tests/Unit/Domain/Value/AssetTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertEmpty\(\) with Storyblok\\Api\\Domain\\Value\\Field\\FieldCollection will always evaluate to false\.$#'
identifier: staticMethod.impossibleType
count: 2
path: tests/Unit/Domain/Value/Field/FieldCollectionTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertEmpty\(\) with Storyblok\\Api\\Domain\\Value\\Filter\\FilterCollection will always evaluate to false\.$#'
identifier: staticMethod.impossibleType
count: 2
path: tests/Unit/Domain/Value/Filter/FilterCollectionTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertEmpty\(\) with Storyblok\\Api\\Domain\\Value\\IdCollection will always evaluate to false\.$#'
identifier: staticMethod.impossibleType
count: 2
path: tests/Unit/Domain/Value/IdCollectionTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertEmpty\(\) with Storyblok\\Api\\Domain\\Value\\Resolver\\RelationCollection will always evaluate to false\.$#'
identifier: staticMethod.impossibleType
count: 2
path: tests/Unit/Domain/Value/Resolver/RelationCollectionTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertEmpty\(\) with Storyblok\\Api\\Domain\\Value\\Tag\\TagCollection will always evaluate to false\.$#'
identifier: staticMethod.impossibleType
count: 2
path: tests/Unit/Domain/Value/Tag/TagCollectionTest.php
-
message: '#^Method Storyblok\\Api\\Bridge\\Faker\\Provider\\StoryblokProvider::.+ should return array.+ but returns array\.$#'
path: src/Bridge/Faker/Provider/StoryblokProvider.php