You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message:'#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''SimpleSAML\\\\SAML2\\\\Utilities\\\\ArrayCollection'' and SimpleSAML\\SAML2\\Utilities\\ArrayCollection will always evaluate to true\.$#'
11
+
identifier:staticMethod.alreadyNarrowedType
12
+
count:1
13
+
path:tests/SAML2/Assertion/ProcessorTest.php
14
+
9
15
-
10
16
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\.$#'
message:'#^Parameter \#1 \$response of class SimpleSAML\\SAML2\\Assertion\\Validation\\ConstraintValidator\\SubjectConfirmationResponseToMatches constructor expects SimpleSAML\\SAML2\\XML\\samlp\\Response, Mockery\\MockInterface given\.$#'
47
65
identifier:argument.type
@@ -66,38 +84,122 @@ parameters:
66
84
count:3
67
85
path:tests/SAML2/Certificate/KeyLoaderTest.php
68
86
87
+
-
88
+
message:'#^Missing call to parent\:\:setUp\(\) method\.$#'
89
+
identifier:phpunit.callParent
90
+
count:1
91
+
path:tests/SAML2/Certificate/KeyLoaderTest.php
92
+
69
93
-
70
94
message:'#^Parameter \#1 \$config of method SimpleSAML\\SAML2\\Certificate\\KeyLoader\:\:loadKeysFromConfiguration\(\) expects SimpleSAML\\SAML2\\Configuration\\CertificateProvider, Mockery\\MockInterface given\.$#'
71
95
identifier:argument.type
72
96
count:3
73
97
path:tests/SAML2/Certificate/KeyLoaderTest.php
74
98
99
+
-
100
+
message:'#^Call to method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''SimpleSAML\\\\XMLSecurity\\\\Key\\\\PrivateKey'' and SimpleSAML\\XMLSecurity\\Key\\PrivateKey will always evaluate to true\.$#'
message:'#^Call to method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''ArrayIterator'' and ArrayIterator will always evaluate to true\.$#'
message:'#^Call to method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''SimpleSAML\\\\SAML2\\\\Utilities\\\\ArrayCollection'' and SimpleSAML\\SAML2\\Utilities\\ArrayCollection will always evaluate to true\.$#'
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\.$#'
155
+
identifier:method.alreadyNarrowedType
156
+
count:2
157
+
path:tests/SAML2/XML/md/EntityDescriptorTest.php
158
+
159
+
-
160
+
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\.$#'
161
+
identifier:method.alreadyNarrowedType
162
+
count:3
163
+
path:tests/SAML2/XML/md/EntityDescriptorTest.php
92
164
93
165
-
94
-
message:'#^Class SimpleSAML\\Test\\SAML2\\XML\\md\\AssertionFailedException not found\.$#'
95
-
identifier:class.notFound
166
+
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\.$#'
message:'#^Parameter \#1 \$exception of method PHPUnit\\Framework\\TestCase\:\:expectException\(\) expects class\-string\<Throwable\>, string given\.$#'
101
-
identifier:argument.type
172
+
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\.$#'
173
+
identifier:method.alreadyNarrowedType
174
+
count:1
175
+
path:tests/SAML2/XML/md/RoleDescriptorTest.php
176
+
177
+
-
178
+
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\.$#'
179
+
identifier:method.alreadyNarrowedType
180
+
count:4
181
+
path:tests/SAML2/XML/md/RoleDescriptorTest.php
182
+
183
+
-
184
+
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\.$#'
185
+
identifier:method.alreadyNarrowedType
186
+
count:4
187
+
path:tests/SAML2/XML/md/RoleDescriptorTest.php
188
+
189
+
-
190
+
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\.$#'
191
+
identifier:method.alreadyNarrowedType
192
+
count:1
193
+
path:tests/SAML2/XML/saml/AssertionTest.php
194
+
195
+
-
196
+
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\.$#'
197
+
identifier:method.impossibleType
198
+
count:4
199
+
path:tests/SAML2/XML/saml/AssertionTest.php
200
+
201
+
-
202
+
message:'#^Call to method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''SimpleSAML\\\\Test\\\\SAML2\\\\CustomStatement'' and SimpleSAML\\Test\\SAML2\\CustomStatement will always evaluate to true\.$#'
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
-120Lines changed: 0 additions & 120 deletions
Original file line number
Diff line number
Diff line change
@@ -72,108 +72,6 @@ parameters:
72
72
count:2
73
73
path:src/Binding/HTTPArtifact.php
74
74
75
-
-
76
-
message:'#^Call to an undefined method SimpleSAML\\XMLSecurity\\XML\\ds\\SignatureValue\:\:getContent\(\)\.$#'
77
-
identifier:method.notFound
78
-
count:1
79
-
path:src/Binding/HTTPRedirect.php
80
-
81
-
-
82
-
message:'#^Access to constant RSA_1_5 on an unknown class SimpleSAML\\XMLSecurity\\XMLSecurityKey\.$#'
83
-
identifier:class.notFound
84
-
count:1
85
-
path:src/Certificate/PrivateKeyLoader.php
86
-
87
-
-
88
-
message:'#^Access to property \$passphrase on an unknown class SimpleSAML\\XMLSecurity\\XMLSecurityKey\.$#'
89
-
identifier:class.notFound
90
-
count:2
91
-
path:src/Certificate/PrivateKeyLoader.php
92
-
93
-
-
94
-
message:'#^Call to method loadKey\(\) on an unknown class SimpleSAML\\XMLSecurity\\XMLSecurityKey\.$#'
95
-
identifier:class.notFound
96
-
count:2
97
-
path:src/Certificate/PrivateKeyLoader.php
98
-
99
-
-
100
-
message:'#^Instantiated class SimpleSAML\\XMLSecurity\\XMLSecurityKey not found\.$#'
101
-
identifier:class.notFound
102
-
count:2
103
-
path:src/Certificate/PrivateKeyLoader.php
104
-
105
-
-
106
-
message:'#^Method SimpleSAML\\SAML2\\Certificate\\PrivateKeyLoader\:\:convertPrivateKeyToRsaKey\(\) has invalid return type SimpleSAML\\XMLSecurity\\XMLSecurityKey\.$#'
107
-
identifier:class.notFound
108
-
count:2
109
-
path:src/Certificate/PrivateKeyLoader.php
110
-
111
-
-
112
-
message:'#^Call to method getArray\(\) on an unknown class SimpleSAML\\Configuration\.$#'
113
-
identifier:class.notFound
114
-
count:1
115
-
path:src/Configuration/SimpleSAMLConverter.php
116
-
117
-
-
118
-
message:'#^Call to method getBoolean\(\) on an unknown class SimpleSAML\\Configuration\.$#'
119
-
identifier:class.notFound
120
-
count:2
121
-
path:src/Configuration/SimpleSAMLConverter.php
122
-
123
-
-
124
-
message:'#^Call to method getString\(\) on an unknown class SimpleSAML\\Configuration\.$#'
125
-
identifier:class.notFound
126
-
count:10
127
-
path:src/Configuration/SimpleSAMLConverter.php
128
-
129
-
-
130
-
message:'#^Call to method getValue\(\) on an unknown class SimpleSAML\\Configuration\.$#'
131
-
identifier:class.notFound
132
-
count:1
133
-
path:src/Configuration/SimpleSAMLConverter.php
134
-
135
-
-
136
-
message:'#^Call to method hasValue\(\) on an unknown class SimpleSAML\\Configuration\.$#'
137
-
identifier:class.notFound
138
-
count:7
139
-
path:src/Configuration/SimpleSAMLConverter.php
140
-
141
-
-
142
-
message:'#^Parameter \$configuration of method SimpleSAML\\SAML2\\Configuration\\SimpleSAMLConverter\:\:convertToIdentityProvider\(\) has invalid type SimpleSAML\\Configuration\.$#'
143
-
identifier:class.notFound
144
-
count:2
145
-
path:src/Configuration/SimpleSAMLConverter.php
146
-
147
-
-
148
-
message:'#^Parameter \$configuration of method SimpleSAML\\SAML2\\Configuration\\SimpleSAMLConverter\:\:convertToServiceProvider\(\) has invalid type SimpleSAML\\Configuration\.$#'
149
-
identifier:class.notFound
150
-
count:2
151
-
path:src/Configuration/SimpleSAMLConverter.php
152
-
153
-
-
154
-
message:'#^Parameter \$configuration of method SimpleSAML\\SAML2\\Configuration\\SimpleSAMLConverter\:\:enrichForDecryptionProvider\(\) has invalid type SimpleSAML\\Configuration\.$#'
155
-
identifier:class.notFound
156
-
count:2
157
-
path:src/Configuration/SimpleSAMLConverter.php
158
-
159
-
-
160
-
message:'#^Parameter \$configuration of method SimpleSAML\\SAML2\\Configuration\\SimpleSAMLConverter\:\:enrichForIdentityProvider\(\) has invalid type SimpleSAML\\Configuration\.$#'
161
-
identifier:class.notFound
162
-
count:2
163
-
path:src/Configuration/SimpleSAMLConverter.php
164
-
165
-
-
166
-
message:'#^Parameter \$configuration of method SimpleSAML\\SAML2\\Configuration\\SimpleSAMLConverter\:\:enrichForServiceProvider\(\) has invalid type SimpleSAML\\Configuration\.$#'
167
-
identifier:class.notFound
168
-
count:2
169
-
path:src/Configuration/SimpleSAMLConverter.php
170
-
171
-
-
172
-
message:'#^Parameter \$configuration of method SimpleSAML\\SAML2\\Configuration\\SimpleSAMLConverter\:\:pluckConfiguration\(\) has invalid type SimpleSAML\\Configuration\.$#'
173
-
identifier:class.notFound
174
-
count:2
175
-
path:src/Configuration/SimpleSAMLConverter.php
176
-
177
75
-
178
76
message:'#^Access to property \$key on an unknown class SimpleSAML\\XMLSecurity\\XMLSecurityKey\.$#'
179
77
identifier:class.notFound
@@ -300,30 +198,12 @@ parameters:
300
198
count:1
301
199
path:src/XML/md/Organization.php
302
200
303
-
-
304
-
message:'#^Call to an undefined method SimpleSAML\\XMLSchema\\Type\\Interface\\ValueTypeInterface\:\:toArray\(\)\.$#'
0 commit comments