-
Notifications
You must be signed in to change notification settings - Fork 135
Expand file tree
/
Copy pathphpstan-baseline-dev.neon
More file actions
205 lines (172 loc) · 9.87 KB
/
phpstan-baseline-dev.neon
File metadata and controls
205 lines (172 loc) · 9.87 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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
parameters:
ignoreErrors:
-
message: '#^Dead catch \- SimpleSAML\\Assert\\AssertionFailedException is never thrown in the try block\.$#'
identifier: catch.neverThrown
count: 1
path: tests/InterOperability/EntityDescriptorTest.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''SimpleSAML\\\\SAML2\\\\Utilities\\\\ArrayCollection'' and SimpleSAML\\SAML2\\Utilities\\ArrayCollection will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: tests/SAML2/Assertion/ProcessorTest.php
-
message: '#^PHPDoc tag @var for property SimpleSAML\\Test\\SAML2\\Assertion\\Transformer\\NameIdDecryptionTransformerTest\:\:\$validator with type SimpleSAML\\SAML2\\Response\\Validation\\Validator is incompatible with native type SimpleSAML\\SAML2\\Signature\\Validator\.$#'
identifier: property.phpDocType
count: 1
path: tests/SAML2/Assertion/Transformer/NameIdDecryptionTransformerTest.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 2
path: tests/SAML2/Assertion/Transformer/NameIdDecryptionTransformerTest.php
-
message: '#^PHPDoc tag @var for property SimpleSAML\\Test\\SAML2\\Assertion\\Validation\\AssertionValidatorTest\:\:\$validator with type SimpleSAML\\SAML2\\Response\\Validation\\Validator is incompatible with native type SimpleSAML\\SAML2\\Signature\\Validator\.$#'
identifier: property.phpDocType
count: 1
path: tests/SAML2/Assertion/Validation/AssertionValidatorTest.php
-
message: '#^Parameter \#1 \$xml of static method SimpleSAML\\SAML2\\XML\\saml\\Assertion\:\:fromXML\(\) expects DOMElement, DOMNode\|null given\.$#'
identifier: argument.type
count: 2
path: tests/SAML2/Assertion/Validation/AssertionValidatorTest.php
-
message: '#^Result of method SimpleSAML\\SAML2\\Assertion\\Processor\:\:validateAssertion\(\) \(void\) is used\.$#'
identifier: method.void
count: 1
path: tests/SAML2/Assertion/Validation/AssertionValidatorTest.php
-
message: '#^Missing call to parent\:\:setUp\(\) method\.$#'
identifier: phpunit.callParent
count: 1
path: tests/SAML2/Assertion/Validation/ConstraintValidator/SpIsValidAudienceTest.php
-
message: '#^Parameter \#1 \$serviceProvider of method SimpleSAML\\SAML2\\Assertion\\Validation\\ConstraintValidator\\SpIsValidAudience\:\:setServiceProvider\(\) expects SimpleSAML\\SAML2\\Configuration\\ServiceProvider, Mockery\\MockInterface given\.$#'
identifier: argument.type
count: 3
path: tests/SAML2/Assertion/Validation/ConstraintValidator/SpIsValidAudienceTest.php
-
message: '#^Missing call to parent\:\:setUp\(\) method\.$#'
identifier: phpunit.callParent
count: 1
path: tests/SAML2/Assertion/Validation/ConstraintValidator/SubjectConfirmationResponseToMatchesTest.php
-
message: '#^Parameter \#1 \$response of class SimpleSAML\\SAML2\\Assertion\\Validation\\ConstraintValidator\\SubjectConfirmationResponseToMatches constructor expects SimpleSAML\\SAML2\\XML\\samlp\\Response, Mockery\\MockInterface given\.$#'
identifier: argument.type
count: 5
path: tests/SAML2/Assertion/Validation/ConstraintValidator/SubjectConfirmationResponseToMatchesTest.php
-
message: '#^PHPDoc tag @var for property SimpleSAML\\Test\\SAML2\\XML\\saml\\SubjectConfirmationValidatorTest\:\:\$validator with type SimpleSAML\\SAML2\\Response\\Validation\\Validator is incompatible with native type SimpleSAML\\SAML2\\Signature\\Validator\.$#'
identifier: property.phpDocType
count: 1
path: tests/SAML2/Assertion/Validation/SubjectConfirmationValidatorTest.php
-
message: '#^Parameter \#1 \$element of method SimpleSAML\\SAML2\\Certificate\\KeyCollection\:\:add\(\) expects SimpleSAML\\SAML2\\Certificate\\Key, string given\.$#'
identifier: argument.type
count: 1
path: tests/SAML2/Certificate/KeyCollectionTest.php
-
message: '#^Call to an undefined method Mockery\\Expectation\:\:shouldReceive\(\)\.$#'
identifier: method.notFound
count: 3
path: tests/SAML2/Certificate/KeyLoaderTest.php
-
message: '#^Missing call to parent\:\:setUp\(\) method\.$#'
identifier: phpunit.callParent
count: 1
path: tests/SAML2/Certificate/KeyLoaderTest.php
-
message: '#^Parameter \#1 \$config of method SimpleSAML\\SAML2\\Certificate\\KeyLoader\:\:loadKeysFromConfiguration\(\) expects SimpleSAML\\SAML2\\Configuration\\CertificateProvider, Mockery\\MockInterface given\.$#'
identifier: argument.type
count: 3
path: tests/SAML2/Certificate/KeyLoaderTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''SimpleSAML\\\\XMLSecurity\\\\Key\\\\PrivateKey'' and SimpleSAML\\XMLSecurity\\Key\\PrivateKey will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 1
path: tests/SAML2/Certificate/PrivateKeyLoaderTest.php
-
message: '#^Missing call to parent\:\:setUp\(\) method\.$#'
identifier: phpunit.callParent
count: 1
path: tests/SAML2/Response/SignatureValidationTest.php
-
message: '#^Missing call to parent\:\:setUp\(\) method\.$#'
identifier: phpunit.callParent
count: 1
path: tests/SAML2/Response/Validation/ConstraintValidator/DestinationMatchesTest.php
-
message: '#^Parameter \#1 \$response of method SimpleSAML\\SAML2\\Response\\Validation\\ConstraintValidator\\DestinationMatches\:\:validate\(\) expects SimpleSAML\\SAML2\\XML\\samlp\\Response, Mockery\\MockInterface given\.$#'
identifier: argument.type
count: 2
path: tests/SAML2/Response/Validation/ConstraintValidator/DestinationMatchesTest.php
-
message: '#^Missing call to parent\:\:setUp\(\) method\.$#'
identifier: phpunit.callParent
count: 1
path: tests/SAML2/Response/Validation/ConstraintValidator/IsSuccessfulTest.php
-
message: '#^Parameter \#1 \$response of method SimpleSAML\\SAML2\\Response\\Validation\\ConstraintValidator\\IsSuccessful\:\:validate\(\) expects SimpleSAML\\SAML2\\XML\\samlp\\Response, Mockery\\MockInterface given\.$#'
identifier: argument.type
count: 2
path: tests/SAML2/Response/Validation/ConstraintValidator/IsSuccessfulTest.php
-
message: '#^Missing call to parent\:\:setUp\(\) method\.$#'
identifier: phpunit.callParent
count: 1
path: tests/SAML2/Signature/PublicKeyValidatorTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''ArrayIterator'' and ArrayIterator will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 1
path: tests/SAML2/Utilities/ArrayCollectionTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''SimpleSAML\\\\SAML2\\\\Utilities\\\\ArrayCollection'' and SimpleSAML\\SAML2\\Utilities\\ArrayCollection will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 2
path: tests/SAML2/Utilities/ArrayCollectionTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''SimpleSAML\\\\SAML2\\\\XML\\\\md\\\\AdditionalMetadataLocation'' and SimpleSAML\\SAML2\\XML\\md\\AdditionalMetadataLocation will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 2
path: tests/SAML2/XML/md/EntityDescriptorTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''SimpleSAML\\\\SAML2\\\\XML\\\\md\\\\ContactPerson'' and SimpleSAML\\SAML2\\XML\\md\\ContactPerson will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 3
path: tests/SAML2/XML/md/EntityDescriptorTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''SimpleSAML\\\\SAML2\\\\XML\\\\md\\\\SingleSignOnService'' and SimpleSAML\\SAML2\\XML\\md\\SingleSignOnService will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 1
path: tests/SAML2/XML/md/IDPSSODescriptorTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''SimpleSAML\\\\SAML2\\\\XML\\\\md\\\\AbstractRoleDescriptor'' and SimpleSAML\\SAML2\\XML\\md\\AbstractRoleDescriptor will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 1
path: tests/SAML2/XML/md/RoleDescriptorTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''SimpleSAML\\\\SAML2\\\\XML\\\\md\\\\ContactPerson'' and SimpleSAML\\SAML2\\XML\\md\\ContactPerson will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 4
path: tests/SAML2/XML/md/RoleDescriptorTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''SimpleSAML\\\\SAML2\\\\XML\\\\md\\\\KeyDescriptor'' and SimpleSAML\\SAML2\\XML\\md\\KeyDescriptor will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 4
path: tests/SAML2/XML/md/RoleDescriptorTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''SimpleSAML\\\\SAML2\\\\XML\\\\saml\\\\NameID'' and SimpleSAML\\SAML2\\XML\\saml\\NameID will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 1
path: tests/SAML2/XML/saml/AssertionTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''SimpleSAML\\\\SAML2\\\\XML\\\\saml\\\\NameID'' and array\<SimpleSAML\\SAML2\\XML\\saml\\AttributeValue\|SimpleSAML\\SAML2\\XML\\saml\\IdentifierInterface\> will always evaluate to false\.$#'
identifier: method.impossibleType
count: 2
path: tests/SAML2/XML/saml/AssertionTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''SimpleSAML\\\\Test\\\\SAML2\\\\CustomStatement'' and SimpleSAML\\Test\\SAML2\\CustomStatement will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 1
path: tests/SAML2/XML/saml/StatementTest.php