Skip to content

Commit 9cfaa59

Browse files
committed
Fix phpstan-baseline
1 parent 4d3d6a4 commit 9cfaa59

File tree

1 file changed

+68
-86
lines changed

1 file changed

+68
-86
lines changed

phpstan-baseline.neon

Lines changed: 68 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
parameters:
22
ignoreErrors:
3+
-
4+
message: '#^Call to an undefined method SimpleSAML\\SAML2\\XML\\samlp\\AbstractMessage\:\:addValidator\(\)\.$#'
5+
identifier: method.notFound
6+
count: 1
7+
path: src/Binding/HTTPArtifact.php
8+
9+
-
10+
message: '#^Call to an undefined method SimpleSAML\\SAML2\\XML\\samlp\\ArtifactResponse\:\:validate\(\)\.$#'
11+
identifier: method.notFound
12+
count: 1
13+
path: src/Binding/HTTPArtifact.php
14+
15+
-
16+
message: '#^Call to method addURLparameters\(\) on an unknown class SimpleSAML\\Utils\\HTTP\.$#'
17+
identifier: class.notFound
18+
count: 1
19+
path: src/Binding/HTTPArtifact.php
20+
21+
-
22+
message: '#^Call to method getString\(\) on an unknown class SimpleSAML\\Configuration\.$#'
23+
identifier: class.notFound
24+
count: 1
25+
path: src/Binding/HTTPArtifact.php
26+
327
-
428
message: '#^Call to static method addSign\(\) on an unknown class SimpleSAML\\Module\\saml\\Message\.$#'
529
identifier: class.notFound
@@ -33,186 +57,144 @@ parameters:
3357
-
3458
message: '#^Parameter \$key of method SimpleSAML\\SAML2\\Binding\\HTTPArtifact\:\:validateSignature\(\) has invalid type SimpleSAML\\XMLSecurity\\XMLSecurityKey\.$#'
3559
identifier: class.notFound
36-
count: 1
60+
count: 2
3761
path: src/Binding/HTTPArtifact.php
3862

3963
-
4064
message: '#^Parameter \$sp of method SimpleSAML\\SAML2\\Binding\\HTTPArtifact\:\:setSPMetadata\(\) has invalid type SimpleSAML\\Configuration\.$#'
4165
identifier: class.notFound
42-
count: 1
66+
count: 2
4367
path: src/Binding/HTTPArtifact.php
4468

4569
-
4670
message: '#^Property SimpleSAML\\SAML2\\Binding\\HTTPArtifact\:\:\$spMetadata has unknown class SimpleSAML\\Configuration as its type\.$#'
4771
identifier: class.notFound
48-
count: 1
72+
count: 2
4973
path: src/Binding/HTTPArtifact.php
5074

5175
-
52-
message: '#^Parameter \$configuration of method SimpleSAML\\SAML2\\Configuration\\SimpleSAMLConverter\:\:convertToIdentityProvider\(\) has invalid type SimpleSAML\\Configuration\.$#'
76+
message: '#^Access to property \$key on an unknown class SimpleSAML\\XMLSecurity\\XMLSecurityKey\.$#'
5377
identifier: class.notFound
5478
count: 1
55-
path: src/Configuration/SimpleSAMLConverter.php
79+
path: src/SOAPClient.php
5680

5781
-
58-
message: '#^Parameter \$configuration of method SimpleSAML\\SAML2\\Configuration\\SimpleSAMLConverter\:\:convertToServiceProvider\(\) has invalid type SimpleSAML\\Configuration\.$#'
59-
identifier: class.notFound
82+
message: '#^Call to an undefined method SimpleSAML\\SAML2\\XML\\samlp\\AbstractMessage\:\:addValidator\(\)\.$#'
83+
identifier: method.notFound
6084
count: 1
6185
path: src/SOAPClient.php
6286

6387
-
64-
message: '#^Parameter \$configuration of method SimpleSAML\\SAML2\\Configuration\\SimpleSAMLConverter\:\:enrichForDecryptionProvider\(\) has invalid type SimpleSAML\\Configuration\.$#'
88+
message: '#^Call to method getCertPath\(\) on an unknown class SimpleSAML\\Utils\\Config\.$#'
6589
identifier: class.notFound
6690
count: 1
6791
path: src/SOAPClient.php
6892

6993
-
70-
message: '#^Parameter \$configuration of method SimpleSAML\\SAML2\\Configuration\\SimpleSAMLConverter\:\:enrichForIdentityProvider\(\) has invalid type SimpleSAML\\Configuration\.$#'
94+
message: '#^Call to method getPublicKeys\(\) on an unknown class SimpleSAML\\Configuration\.$#'
7195
identifier: class.notFound
7296
count: 1
7397
path: src/SOAPClient.php
7498

7599
-
76-
message: '#^Parameter \$configuration of method SimpleSAML\\SAML2\\Configuration\\SimpleSAMLConverter\:\:enrichForServiceProvider\(\) has invalid type SimpleSAML\\Configuration\.$#'
100+
message: '#^Call to method getString\(\) on an unknown class SimpleSAML\\Configuration\.$#'
77101
identifier: class.notFound
78-
count: 1
102+
count: 3
79103
path: src/SOAPClient.php
80104

81105
-
82-
message: '#^Parameter \$configuration of method SimpleSAML\\SAML2\\Configuration\\SimpleSAMLConverter\:\:pluckConfiguration\(\) has invalid type SimpleSAML\\Configuration\.$#'
106+
message: '#^Call to method getValue\(\) on an unknown class SimpleSAML\\Configuration\.$#'
83107
identifier: class.notFound
84-
count: 1
85-
path: src/Configuration/SimpleSAMLConverter.php
108+
count: 3
109+
path: src/SOAPClient.php
86110

87111
-
88-
message: '#^Instantiated class SimpleSAML\\Utils\\Config not found\.$#'
112+
message: '#^Call to method hasValue\(\) on an unknown class SimpleSAML\\Configuration\.$#'
89113
identifier: class.notFound
90-
count: 1
114+
count: 5
91115
path: src/SOAPClient.php
92116

93117
-
94-
message: '#^Instantiated class SimpleSAML\\Utils\\Crypto not found\.$#'
118+
message: '#^Call to method loadPrivateKey\(\) on an unknown class SimpleSAML\\Utils\\Crypto\.$#'
95119
identifier: class.notFound
96120
count: 1
97121
path: src/SOAPClient.php
98122

99123
-
100-
message: '#^Parameter \$dstMetadata of method SimpleSAML\\SAML2\\SOAPClient\:\:send\(\) has invalid type SimpleSAML\\Configuration\.$#'
124+
message: '#^Call to method loadPublicKey\(\) on an unknown class SimpleSAML\\Utils\\Crypto\.$#'
101125
identifier: class.notFound
102126
count: 1
103127
path: src/SOAPClient.php
104128

105129
-
106-
message: '#^Parameter \$key of method SimpleSAML\\SAML2\\SOAPClient\:\:validateSSL\(\) has invalid type SimpleSAML\\XMLSecurity\\XMLSecurityKey\.$#'
130+
message: '#^Instantiated class SimpleSAML\\Utils\\Config not found\.$#'
107131
identifier: class.notFound
108132
count: 1
109133
path: src/SOAPClient.php
110134

111135
-
112-
message: '#^Parameter \$srcMetadata of method SimpleSAML\\SAML2\\SOAPClient\:\:send\(\) has invalid type SimpleSAML\\Configuration\.$#'
136+
message: '#^Instantiated class SimpleSAML\\Utils\\Crypto not found\.$#'
113137
identifier: class.notFound
114138
count: 1
115139
path: src/SOAPClient.php
116140

117141
-
118-
message: '#^Unsafe usage of new static\(\)\.$#'
119-
identifier: new.static
120-
count: 2
121-
path: src/XML/md/AbstractEndpointType.php
122-
123-
-
124-
message: '#^Unsafe usage of new static\(\)\.$#'
125-
identifier: new.static
126-
count: 2
127-
path: src/XML/md/AbstractIndexedEndpointType.php
128-
129-
-
130-
message: '#^Access to undefined constant static\(SimpleSAML\\SAML2\\XML\\md\\AbstractRoleDescriptor\)\:\:XSI_TYPE_NAME\.$#'
131-
identifier: classConstant.notFound
132-
count: 2
133-
path: src/XML/md/AbstractRoleDescriptor.php
134-
135-
-
136-
message: '#^Access to undefined constant static\(SimpleSAML\\SAML2\\XML\\md\\AbstractRoleDescriptor\)\:\:XSI_TYPE_NAMESPACE\.$#'
137-
identifier: classConstant.notFound
138-
count: 2
139-
path: src/XML/md/AbstractRoleDescriptor.php
140-
141-
-
142-
message: '#^Access to undefined constant static\(SimpleSAML\\SAML2\\XML\\md\\AbstractRoleDescriptor\)\:\:XSI_TYPE_PREFIX\.$#'
143-
identifier: classConstant.notFound
144-
count: 2
145-
path: src/XML/md/AbstractRoleDescriptor.php
146-
147-
-
148-
message: '#^Call to an undefined static method SimpleSAML\\SAML2\\XML\\md\\AbstractSignedMdElement\:\:getXsiTypeNamespaceURI\(\)\.$#'
149-
identifier: staticMethod.notFound
150-
count: 1
151-
path: src/XML/md/AbstractSignedMdElement.php
152-
153-
-
154-
message: '#^Access to undefined constant static\(SimpleSAML\\SAML2\\XML\\saml\\AbstractBaseID\)\:\:XSI_TYPE_NAME\.$#'
155-
identifier: classConstant.notFound
156-
count: 2
157-
path: src/XML/saml/AbstractBaseID.php
158-
159-
-
160-
message: '#^Access to undefined constant static\(SimpleSAML\\SAML2\\XML\\saml\\AbstractBaseID\)\:\:XSI_TYPE_NAMESPACE\.$#'
161-
identifier: classConstant.notFound
142+
message: '#^Parameter \$dstMetadata of method SimpleSAML\\SAML2\\SOAPClient\:\:send\(\) has invalid type SimpleSAML\\Configuration\.$#'
143+
identifier: class.notFound
162144
count: 2
163145
path: src/SOAPClient.php
164146

165147
-
166-
message: '#^Access to undefined constant static\(SimpleSAML\\SAML2\\XML\\saml\\AbstractBaseID\)\:\:XSI_TYPE_PREFIX\.$#'
167-
identifier: classConstant.notFound
148+
message: '#^Parameter \$key of method SimpleSAML\\SAML2\\SOAPClient\:\:validateSSL\(\) has invalid type SimpleSAML\\XMLSecurity\\XMLSecurityKey\.$#'
149+
identifier: class.notFound
168150
count: 2
169151
path: src/SOAPClient.php
170152

171153
-
172-
message: '#^Access to undefined constant static\(SimpleSAML\\SAML2\\XML\\saml\\AbstractCondition\)\:\:XSI_TYPE_NAME\.$#'
173-
identifier: classConstant.notFound
154+
message: '#^Parameter \$srcMetadata of method SimpleSAML\\SAML2\\SOAPClient\:\:send\(\) has invalid type SimpleSAML\\Configuration\.$#'
155+
identifier: class.notFound
174156
count: 2
175157
path: src/SOAPClient.php
176158

177159
-
178-
message: '#^Access to undefined constant static\(SimpleSAML\\SAML2\\XML\\saml\\AbstractCondition\)\:\:XSI_TYPE_NAMESPACE\.$#'
179-
identifier: classConstant.notFound
160+
message: '#^Unsafe usage of new static\(\)\.$#'
161+
identifier: new.static
180162
count: 2
181163
path: src/XML/md/AbstractEndpointType.php
182164

183165
-
184-
message: '#^Access to undefined constant static\(SimpleSAML\\SAML2\\XML\\saml\\AbstractCondition\)\:\:XSI_TYPE_PREFIX\.$#'
185-
identifier: classConstant.notFound
166+
message: '#^Unsafe usage of new static\(\)\.$#'
167+
identifier: new.static
186168
count: 2
187169
path: src/XML/md/AbstractIndexedEndpointType.php
188170

189171
-
190-
message: '#^Access to undefined constant static\(SimpleSAML\\SAML2\\XML\\saml\\AbstractStatement\)\:\:XSI_TYPE_NAME\.$#'
191-
identifier: classConstant.notFound
172+
message: '#^Unsafe usage of new static\(\)\.$#'
173+
identifier: new.static
192174
count: 2
193175
path: src/XML/md/AbstractLocalizedName.php
194176

195177
-
196-
message: '#^Access to undefined constant static\(SimpleSAML\\SAML2\\XML\\saml\\AbstractStatement\)\:\:XSI_TYPE_NAMESPACE\.$#'
197-
identifier: classConstant.notFound
198-
count: 2
199-
path: src/XML/saml/AbstractStatement.php
178+
message: '#^Call to an undefined static method SimpleSAML\\SAML2\\XML\\md\\AbstractSignedMdElement\:\:getXsiTypeNamespaceURI\(\)\.$#'
179+
identifier: staticMethod.notFound
180+
count: 1
181+
path: src/XML/md/AbstractSignedMdElement.php
200182

201183
-
202-
message: '#^Access to undefined constant static\(SimpleSAML\\SAML2\\XML\\saml\\AbstractStatement\)\:\:XSI_TYPE_PREFIX\.$#'
203-
identifier: classConstant.notFound
204-
count: 2
205-
path: src/XML/saml/AbstractStatement.php
184+
message: '#^Call to an undefined method SimpleSAML\\XML\\AbstractElement\:\:getList\(\)\.$#'
185+
identifier: method.notFound
186+
count: 1
187+
path: src/XML/md/ContactPerson.php
206188

207189
-
208-
message: '#^Unsafe usage of new static\(\)\.$#'
209-
identifier: new.static
190+
message: '#^Call to an undefined method SimpleSAML\\XML\\AbstractElement\:\:getList\(\)\.$#'
191+
identifier: method.notFound
210192
count: 1
211193
path: src/XML/md/EntitiesDescriptor.php
212194

213195
-
214-
message: '#^Unsafe usage of new static\(\)\.$#'
215-
identifier: new.static
196+
message: '#^Call to an undefined method SimpleSAML\\XML\\AbstractElement\:\:getList\(\)\.$#'
197+
identifier: method.notFound
216198
count: 1
217199
path: src/XML/md/Organization.php
218200

0 commit comments

Comments
 (0)