Skip to content

Commit a0b5ac2

Browse files
committed
-
1 parent eb8dd4f commit a0b5ac2

File tree

2 files changed

+3
-168
lines changed

2 files changed

+3
-168
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 168 deletions
Original file line numberDiff line numberDiff line change
@@ -1,161 +1,5 @@
11
parameters:
22
ignoreErrors:
3-
-
4-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method assetResponse\(\) parameter \#1 \$overrides with no value type specified in iterable type array\.$#'
5-
identifier: missingType.iterableValue
6-
count: 1
7-
path: src/Bridge/Faker/Generator.php
8-
9-
-
10-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method assetResponse\(\) return type with no value type specified in iterable type array\.$#'
11-
identifier: missingType.iterableValue
12-
count: 1
13-
path: src/Bridge/Faker/Generator.php
14-
15-
-
16-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method datasourceDimensionResponse\(\) parameter \#1 \$overrides with no value type specified in iterable type array\.$#'
17-
identifier: missingType.iterableValue
18-
count: 1
19-
path: src/Bridge/Faker/Generator.php
20-
21-
-
22-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method datasourceDimensionResponse\(\) return type with no value type specified in iterable type array\.$#'
23-
identifier: missingType.iterableValue
24-
count: 1
25-
path: src/Bridge/Faker/Generator.php
26-
27-
-
28-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method datasourceEntriesResponse\(\) parameter \#1 \$overrides with no value type specified in iterable type array\.$#'
29-
identifier: missingType.iterableValue
30-
count: 1
31-
path: src/Bridge/Faker/Generator.php
32-
33-
-
34-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method datasourceEntriesResponse\(\) return type with no value type specified in iterable type array\.$#'
35-
identifier: missingType.iterableValue
36-
count: 1
37-
path: src/Bridge/Faker/Generator.php
38-
39-
-
40-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method datasourceEntryResponse\(\) parameter \#1 \$overrides with no value type specified in iterable type array\.$#'
41-
identifier: missingType.iterableValue
42-
count: 1
43-
path: src/Bridge/Faker/Generator.php
44-
45-
-
46-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method datasourceEntryResponse\(\) return type with no value type specified in iterable type array\.$#'
47-
identifier: missingType.iterableValue
48-
count: 1
49-
path: src/Bridge/Faker/Generator.php
50-
51-
-
52-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method datasourceResponse\(\) parameter \#1 \$overrides with no value type specified in iterable type array\.$#'
53-
identifier: missingType.iterableValue
54-
count: 1
55-
path: src/Bridge/Faker/Generator.php
56-
57-
-
58-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method datasourceResponse\(\) return type with no value type specified in iterable type array\.$#'
59-
identifier: missingType.iterableValue
60-
count: 1
61-
path: src/Bridge/Faker/Generator.php
62-
63-
-
64-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method datasourcesResponse\(\) parameter \#1 \$overrides with no value type specified in iterable type array\.$#'
65-
identifier: missingType.iterableValue
66-
count: 1
67-
path: src/Bridge/Faker/Generator.php
68-
69-
-
70-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method datasourcesResponse\(\) return type with no value type specified in iterable type array\.$#'
71-
identifier: missingType.iterableValue
72-
count: 1
73-
path: src/Bridge/Faker/Generator.php
74-
75-
-
76-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method linkAlternateResponse\(\) parameter \#1 \$overrides with no value type specified in iterable type array\.$#'
77-
identifier: missingType.iterableValue
78-
count: 1
79-
path: src/Bridge/Faker/Generator.php
80-
81-
-
82-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method linkAlternateResponse\(\) return type with no value type specified in iterable type array\.$#'
83-
identifier: missingType.iterableValue
84-
count: 1
85-
path: src/Bridge/Faker/Generator.php
86-
87-
-
88-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method linkResponse\(\) parameter \#1 \$overrides with no value type specified in iterable type array\.$#'
89-
identifier: missingType.iterableValue
90-
count: 1
91-
path: src/Bridge/Faker/Generator.php
92-
93-
-
94-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method linkResponse\(\) return type with no value type specified in iterable type array\.$#'
95-
identifier: missingType.iterableValue
96-
count: 1
97-
path: src/Bridge/Faker/Generator.php
98-
99-
-
100-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method linksResponse\(\) parameter \#1 \$overrides with no value type specified in iterable type array\.$#'
101-
identifier: missingType.iterableValue
102-
count: 1
103-
path: src/Bridge/Faker/Generator.php
104-
105-
-
106-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method linksResponse\(\) return type with no value type specified in iterable type array\.$#'
107-
identifier: missingType.iterableValue
108-
count: 1
109-
path: src/Bridge/Faker/Generator.php
110-
111-
-
112-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method spaceResponse\(\) parameter \#1 \$overrides with no value type specified in iterable type array\.$#'
113-
identifier: missingType.iterableValue
114-
count: 1
115-
path: src/Bridge/Faker/Generator.php
116-
117-
-
118-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method spaceResponse\(\) return type with no value type specified in iterable type array\.$#'
119-
identifier: missingType.iterableValue
120-
count: 1
121-
path: src/Bridge/Faker/Generator.php
122-
123-
-
124-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method storiesResponse\(\) parameter \#1 \$overrides with no value type specified in iterable type array\.$#'
125-
identifier: missingType.iterableValue
126-
count: 1
127-
path: src/Bridge/Faker/Generator.php
128-
129-
-
130-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method storiesResponse\(\) return type with no value type specified in iterable type array\.$#'
131-
identifier: missingType.iterableValue
132-
count: 1
133-
path: src/Bridge/Faker/Generator.php
134-
135-
-
136-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method storyResponse\(\) parameter \#1 \$overrides with no value type specified in iterable type array\.$#'
137-
identifier: missingType.iterableValue
138-
count: 1
139-
path: src/Bridge/Faker/Generator.php
140-
141-
-
142-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method storyResponse\(\) return type with no value type specified in iterable type array\.$#'
143-
identifier: missingType.iterableValue
144-
count: 1
145-
path: src/Bridge/Faker/Generator.php
146-
147-
-
148-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method tagsResponse\(\) parameter \#1 \$overrides with no value type specified in iterable type array\.$#'
149-
identifier: missingType.iterableValue
150-
count: 1
151-
path: src/Bridge/Faker/Generator.php
152-
153-
-
154-
message: '#^Class Storyblok\\Api\\Bridge\\Faker\\Generator has PHPDoc tag @method for method tagsResponse\(\) return type with no value type specified in iterable type array\.$#'
155-
identifier: missingType.iterableValue
156-
count: 1
157-
path: src/Bridge/Faker/Generator.php
158-
1593
-
1604
message: '#^Parameter \#1 \$headers of static method Storyblok\\Api\\Domain\\Value\\Total\:\:fromHeaders\(\) expects array\<string, list\<string\>\>, array\<array\<string\>\> given\.$#'
1615
identifier: argument.type
@@ -186,12 +30,6 @@ parameters:
18630
count: 1
18731
path: src/Domain/Value/Field/FieldCollection.php
18832

189-
-
190-
message: '#^Method Storyblok\\Api\\Domain\\Value\\Filter\\FilterCollection\:\:toArray\(\) return type has no value type specified in iterable type array\.$#'
191-
identifier: missingType.iterableValue
192-
count: 1
193-
path: src/Domain/Value/Filter/FilterCollection.php
194-
19533
-
19634
message: '#^PHPDoc tag @return contains unresolvable type\.$#'
19735
identifier: return.unresolvableType
@@ -240,12 +78,6 @@ parameters:
24078
count: 1
24179
path: src/Domain/Value/Link.php
24280

243-
-
244-
message: '#^Property Storyblok\\Api\\Domain\\Value\\Link\:\:\$alternates type has no value type specified in iterable type array\.$#'
245-
identifier: missingType.iterableValue
246-
count: 1
247-
path: src/Domain/Value/Link.php
248-
24981
-
25082
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\>\.$#'
25183
identifier: assign.propertyType

phpstan.neon.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ includes:
22
- phpstan-baseline.neon
33

44
parameters:
5+
ignoreErrors:
6+
-
7+
identifier: missingType.iterableValue
58
inferPrivatePropertyTypeFromConstructor: true
69
level: 8
710
paths:

0 commit comments

Comments
 (0)