-
-
Notifications
You must be signed in to change notification settings - Fork 205
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
181 lines (152 loc) · 7.2 KB
/
phpstan-baseline.neon
File metadata and controls
181 lines (152 loc) · 7.2 KB
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
parameters:
ignoreErrors:
-
rawMessage: Possibly invalid array key type int|string|null.
identifier: offsetAccess.invalidOffset
count: 1
path: src/Entity/BlockInteractor.php
-
rawMessage: Variable method call on Sonata\PageBundle\Model\PageInterface.
identifier: method.dynamicName
count: 1
path: src/Entity/PageManager.php
-
rawMessage: 'Cannot call method getId() on array<string, bool|string>|Sonata\PageBundle\Model\PageInterface|Sonata\PageBundle\Model\SiteInterface.'
identifier: method.nonObject
count: 1
path: src/Form/Type/PageSelectorType.php
-
rawMessage: 'Only booleans are allowed in &&, array<string, bool|string>|Sonata\PageBundle\Model\PageInterface|Sonata\PageBundle\Model\SiteInterface|null given on the right side.'
identifier: booleanAnd.rightNotBoolean
count: 1
path: src/Form/Type/PageSelectorType.php
-
rawMessage: 'Parameter #2 $currentPage of method Sonata\PageBundle\Form\Type\PageSelectorType::childWalker() expects Sonata\PageBundle\Model\PageInterface|null, array<string, bool|string>|Sonata\PageBundle\Model\PageInterface|Sonata\PageBundle\Model\SiteInterface|null given.'
identifier: argument.type
count: 1
path: src/Form/Type/PageSelectorType.php
-
rawMessage: 'Parameter #2 ...$arrays of function array_merge expects array, array<string, bool|string>|Sonata\PageBundle\Model\PageInterface|Sonata\PageBundle\Model\SiteInterface|null given.'
identifier: argument.type
count: 1
path: src/Form/Type/PageSelectorType.php
-
rawMessage: Possibly invalid array key type string|null.
identifier: offsetAccess.invalidOffset
count: 2
path: src/Page/PageServiceManager.php
-
rawMessage: Access to constant BUILTIN_TYPE_BOOL on an unknown class Symfony\Component\PropertyInfo\Type.
identifier: class.notFound
count: 1
path: src/Serializer/BlockTypeExtractor.php
-
rawMessage: Access to constant BUILTIN_TYPE_INT on an unknown class Symfony\Component\PropertyInfo\Type.
identifier: class.notFound
count: 2
path: src/Serializer/BlockTypeExtractor.php
-
rawMessage: Access to constant BUILTIN_TYPE_STRING on an unknown class Symfony\Component\PropertyInfo\Type.
identifier: class.notFound
count: 3
path: src/Serializer/BlockTypeExtractor.php
-
rawMessage: Instantiated class Symfony\Component\PropertyInfo\Type not found.
identifier: class.notFound
count: 6
path: src/Serializer/BlockTypeExtractor.php
-
rawMessage: 'Method Sonata\PageBundle\Serializer\BlockTypeExtractor::getTypes() has invalid return type Symfony\Component\PropertyInfo\Type.'
identifier: class.notFound
count: 1
path: src/Serializer/BlockTypeExtractor.php
-
rawMessage: Access to constant BUILTIN_TYPE_OBJECT on an unknown class Symfony\Component\PropertyInfo\Type.
identifier: class.notFound
count: 5
path: src/Serializer/InterfaceTypeExtractor.php
-
rawMessage: Instantiated class Symfony\Component\PropertyInfo\Type not found.
identifier: class.notFound
count: 5
path: src/Serializer/InterfaceTypeExtractor.php
-
rawMessage: 'Method Sonata\PageBundle\Serializer\InterfaceTypeExtractor::getBlockType() has invalid return type Symfony\Component\PropertyInfo\Type.'
identifier: class.notFound
count: 1
path: src/Serializer/InterfaceTypeExtractor.php
-
rawMessage: 'Method Sonata\PageBundle\Serializer\InterfaceTypeExtractor::getPageType() has invalid return type Symfony\Component\PropertyInfo\Type.'
identifier: class.notFound
count: 1
path: src/Serializer/InterfaceTypeExtractor.php
-
rawMessage: 'Method Sonata\PageBundle\Serializer\InterfaceTypeExtractor::getTypes() has invalid return type Symfony\Component\PropertyInfo\Type.'
identifier: class.notFound
count: 1
path: src/Serializer/InterfaceTypeExtractor.php
-
rawMessage: 'Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with ''Symfony\\Component\\HttpFoundation\\Response'' and Symfony\Component\HttpFoundation\Response will always evaluate to true.'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: tests/Block/ContainerBlockServiceTest.php
-
rawMessage: 'Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with ''Symfony\\Component\\HttpFoundation\\Response'' and Symfony\Component\HttpFoundation\Response will always evaluate to true.'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: tests/Block/PageListBlockServiceTest.php
-
rawMessage: 'Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with ''Sonata\\PageBundle\\Model\\PageInterface'' and Sonata\PageBundle\Model\PageInterface will always evaluate to true.'
identifier: staticMethod.alreadyNarrowedType
count: 4
path: tests/CmsManager/CmsPageManagerTest.php
-
rawMessage: 'Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with arguments ''Sonata\\PageBundle\\Model\\PageBlockInterface'', Sonata\PageBundle\Model\PageBlockInterface and ''should be a block'' will always evaluate to true.'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: tests/CmsManager/CmsPageManagerTest.php
-
rawMessage: 'Call to static method PHPUnit\Framework\Assert::assertTrue() with true will always evaluate to true.'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: tests/Functional/BasePantherTestCase.php
-
rawMessage: 'Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with ''Sonata\\PageBundle\\Model\\PageBlockInterface'' and Sonata\PageBundle\Model\PageBlockInterface will always evaluate to true.'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: tests/Model/BlockInteractorTest.php
-
rawMessage: 'Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with ''Sonata\\PageBundle\\Model\\SnapshotPageProxyInterface'' and Sonata\PageBundle\Model\SnapshotPageProxy will always evaluate to true.'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: tests/Model/SnapshotPageProxyTest.php
-
rawMessage: 'Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with arguments ''Symfony\\Component\\HttpFoundation\\Response'', Symfony\Component\HttpFoundation\Response and ''Should return a…'' will always evaluate to true.'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: tests/Page/Service/BasePageServiceTest.php
-
rawMessage: 'Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with ''Symfony\\Component\\HttpFoundation\\Request'' and Symfony\Component\HttpFoundation\Request will always evaluate to true.'
identifier: staticMethod.alreadyNarrowedType
count: 4
path: tests/Request/RequestFactoryTest.php
-
rawMessage: Variable method call on object.
identifier: method.dynamicName
count: 1
path: tests/Site/HostPathSiteSelectorTest.php
-
rawMessage: Variable property access on object.
identifier: property.dynamicName
count: 2
path: tests/Site/HostPathSiteSelectorTest.php
-
rawMessage: Variable method call on object.
identifier: method.dynamicName
count: 1
path: tests/Site/HostSiteSelectorTest.php
-
rawMessage: Variable property access on object.
identifier: property.dynamicName
count: 2
path: tests/Site/HostSiteSelectorTest.php