Skip to content

Commit c07a327

Browse files
committed
generate baseline
1 parent 95df076 commit c07a327

File tree

2 files changed

+288
-0
lines changed

2 files changed

+288
-0
lines changed

phpstan-baseline.neon

Lines changed: 286 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,286 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: "#^Call to an undefined method SimpleSAML\\\\SAML2\\\\XML\\\\samlp\\\\AbstractMessage\\:\\:addValidator\\(\\)\\.$#"
5+
count: 1
6+
path: src/Binding/HTTPArtifact.php
7+
8+
-
9+
message: "#^Call to an undefined method SimpleSAML\\\\SAML2\\\\XML\\\\samlp\\\\ArtifactResponse\\:\\:validate\\(\\)\\.$#"
10+
count: 1
11+
path: src/Binding/HTTPArtifact.php
12+
13+
-
14+
message: "#^Call to method addURLparameters\\(\\) on an unknown class SimpleSAML\\\\Utils\\\\HTTP\\.$#"
15+
count: 1
16+
path: src/Binding/HTTPArtifact.php
17+
18+
-
19+
message: "#^Call to method getString\\(\\) on an unknown class SimpleSAML\\\\Configuration\\.$#"
20+
count: 1
21+
path: src/Binding/HTTPArtifact.php
22+
23+
-
24+
message: "#^Call to static method addSign\\(\\) on an unknown class SimpleSAML\\\\Module\\\\saml\\\\Message\\.$#"
25+
count: 1
26+
path: src/Binding/HTTPArtifact.php
27+
28+
-
29+
message: "#^Call to static method getInstance\\(\\) on an unknown class SimpleSAML\\\\Configuration\\.$#"
30+
count: 2
31+
path: src/Binding/HTTPArtifact.php
32+
33+
-
34+
message: "#^Call to static method getInstance\\(\\) on an unknown class SimpleSAML\\\\Store\\\\StoreFactory\\.$#"
35+
count: 1
36+
path: src/Binding/HTTPArtifact.php
37+
38+
-
39+
message: "#^Call to static method getMetadataHandler\\(\\) on an unknown class SimpleSAML\\\\Metadata\\\\MetaDataStorageHandler\\.$#"
40+
count: 1
41+
path: src/Binding/HTTPArtifact.php
42+
43+
-
44+
message: "#^Instantiated class SimpleSAML\\\\Utils\\\\HTTP not found\\.$#"
45+
count: 1
46+
path: src/Binding/HTTPArtifact.php
47+
48+
-
49+
message: "#^Parameter \\$key of method SimpleSAML\\\\SAML2\\\\Binding\\\\HTTPArtifact\\:\\:validateSignature\\(\\) has invalid type SimpleSAML\\\\XMLSecurity\\\\XMLSecurityKey\\.$#"
50+
count: 2
51+
path: src/Binding/HTTPArtifact.php
52+
53+
-
54+
message: "#^Parameter \\$sp of method SimpleSAML\\\\SAML2\\\\Binding\\\\HTTPArtifact\\:\\:setSPMetadata\\(\\) has invalid type SimpleSAML\\\\Configuration\\.$#"
55+
count: 2
56+
path: src/Binding/HTTPArtifact.php
57+
58+
-
59+
message: "#^Property SimpleSAML\\\\SAML2\\\\Binding\\\\HTTPArtifact\\:\\:\\$spMetadata has unknown class SimpleSAML\\\\Configuration as its type\\.$#"
60+
count: 2
61+
path: src/Binding/HTTPArtifact.php
62+
63+
-
64+
message: "#^Call to an undefined method SimpleSAML\\\\XMLSecurity\\\\XML\\\\ds\\\\SignatureValue\\:\\:getContent\\(\\)\\.$#"
65+
count: 1
66+
path: src/Binding/HTTPRedirect.php
67+
68+
-
69+
message: "#^Access to constant RSA_1_5 on an unknown class SimpleSAML\\\\XMLSecurity\\\\XMLSecurityKey\\.$#"
70+
count: 1
71+
path: src/Certificate/PrivateKeyLoader.php
72+
73+
-
74+
message: "#^Access to property \\$passphrase on an unknown class SimpleSAML\\\\XMLSecurity\\\\XMLSecurityKey\\.$#"
75+
count: 2
76+
path: src/Certificate/PrivateKeyLoader.php
77+
78+
-
79+
message: "#^Call to method loadKey\\(\\) on an unknown class SimpleSAML\\\\XMLSecurity\\\\XMLSecurityKey\\.$#"
80+
count: 2
81+
path: src/Certificate/PrivateKeyLoader.php
82+
83+
-
84+
message: "#^Instantiated class SimpleSAML\\\\XMLSecurity\\\\XMLSecurityKey not found\\.$#"
85+
count: 2
86+
path: src/Certificate/PrivateKeyLoader.php
87+
88+
-
89+
message: "#^Method SimpleSAML\\\\SAML2\\\\Certificate\\\\PrivateKeyLoader\\:\\:convertPrivateKeyToRsaKey\\(\\) has invalid return type SimpleSAML\\\\XMLSecurity\\\\XMLSecurityKey\\.$#"
90+
count: 2
91+
path: src/Certificate/PrivateKeyLoader.php
92+
93+
-
94+
message: "#^PHPDoc tag @param for parameter \\$qName with type SimpleSAML\\\\XML\\\\Type\\\\QNameValue\\|null is not subtype of native type SimpleSAML\\\\XML\\\\Type\\\\QNameValue\\.$#"
95+
count: 1
96+
path: src/Compat/AbstractContainer.php
97+
98+
-
99+
message: "#^Call to method getArray\\(\\) on an unknown class SimpleSAML\\\\Configuration\\.$#"
100+
count: 1
101+
path: src/Configuration/SimpleSAMLConverter.php
102+
103+
-
104+
message: "#^Call to method getBoolean\\(\\) on an unknown class SimpleSAML\\\\Configuration\\.$#"
105+
count: 2
106+
path: src/Configuration/SimpleSAMLConverter.php
107+
108+
-
109+
message: "#^Call to method getString\\(\\) on an unknown class SimpleSAML\\\\Configuration\\.$#"
110+
count: 10
111+
path: src/Configuration/SimpleSAMLConverter.php
112+
113+
-
114+
message: "#^Call to method getValue\\(\\) on an unknown class SimpleSAML\\\\Configuration\\.$#"
115+
count: 1
116+
path: src/Configuration/SimpleSAMLConverter.php
117+
118+
-
119+
message: "#^Call to method hasValue\\(\\) on an unknown class SimpleSAML\\\\Configuration\\.$#"
120+
count: 7
121+
path: src/Configuration/SimpleSAMLConverter.php
122+
123+
-
124+
message: "#^Parameter \\$configuration of method SimpleSAML\\\\SAML2\\\\Configuration\\\\SimpleSAMLConverter\\:\\:convertToIdentityProvider\\(\\) has invalid type SimpleSAML\\\\Configuration\\.$#"
125+
count: 2
126+
path: src/Configuration/SimpleSAMLConverter.php
127+
128+
-
129+
message: "#^Parameter \\$configuration of method SimpleSAML\\\\SAML2\\\\Configuration\\\\SimpleSAMLConverter\\:\\:convertToServiceProvider\\(\\) has invalid type SimpleSAML\\\\Configuration\\.$#"
130+
count: 2
131+
path: src/Configuration/SimpleSAMLConverter.php
132+
133+
-
134+
message: "#^Parameter \\$configuration of method SimpleSAML\\\\SAML2\\\\Configuration\\\\SimpleSAMLConverter\\:\\:enrichForDecryptionProvider\\(\\) has invalid type SimpleSAML\\\\Configuration\\.$#"
135+
count: 2
136+
path: src/Configuration/SimpleSAMLConverter.php
137+
138+
-
139+
message: "#^Parameter \\$configuration of method SimpleSAML\\\\SAML2\\\\Configuration\\\\SimpleSAMLConverter\\:\\:enrichForIdentityProvider\\(\\) has invalid type SimpleSAML\\\\Configuration\\.$#"
140+
count: 2
141+
path: src/Configuration/SimpleSAMLConverter.php
142+
143+
-
144+
message: "#^Parameter \\$configuration of method SimpleSAML\\\\SAML2\\\\Configuration\\\\SimpleSAMLConverter\\:\\:enrichForServiceProvider\\(\\) has invalid type SimpleSAML\\\\Configuration\\.$#"
145+
count: 2
146+
path: src/Configuration/SimpleSAMLConverter.php
147+
148+
-
149+
message: "#^Parameter \\$configuration of method SimpleSAML\\\\SAML2\\\\Configuration\\\\SimpleSAMLConverter\\:\\:pluckConfiguration\\(\\) has invalid type SimpleSAML\\\\Configuration\\.$#"
150+
count: 2
151+
path: src/Configuration/SimpleSAMLConverter.php
152+
153+
-
154+
message: "#^Access to property \\$key on an unknown class SimpleSAML\\\\XMLSecurity\\\\XMLSecurityKey\\.$#"
155+
count: 1
156+
path: src/SOAPClient.php
157+
158+
-
159+
message: "#^Call to an undefined method SimpleSAML\\\\SAML2\\\\XML\\\\samlp\\\\AbstractMessage\\:\\:addValidator\\(\\)\\.$#"
160+
count: 1
161+
path: src/SOAPClient.php
162+
163+
-
164+
message: "#^Call to method getCertPath\\(\\) on an unknown class SimpleSAML\\\\Utils\\\\Config\\.$#"
165+
count: 1
166+
path: src/SOAPClient.php
167+
168+
-
169+
message: "#^Call to method getPublicKeys\\(\\) on an unknown class SimpleSAML\\\\Configuration\\.$#"
170+
count: 1
171+
path: src/SOAPClient.php
172+
173+
-
174+
message: "#^Call to method getString\\(\\) on an unknown class SimpleSAML\\\\Configuration\\.$#"
175+
count: 3
176+
path: src/SOAPClient.php
177+
178+
-
179+
message: "#^Call to method getValue\\(\\) on an unknown class SimpleSAML\\\\Configuration\\.$#"
180+
count: 3
181+
path: src/SOAPClient.php
182+
183+
-
184+
message: "#^Call to method hasValue\\(\\) on an unknown class SimpleSAML\\\\Configuration\\.$#"
185+
count: 5
186+
path: src/SOAPClient.php
187+
188+
-
189+
message: "#^Call to method loadPrivateKey\\(\\) on an unknown class SimpleSAML\\\\Utils\\\\Crypto\\.$#"
190+
count: 1
191+
path: src/SOAPClient.php
192+
193+
-
194+
message: "#^Call to method loadPublicKey\\(\\) on an unknown class SimpleSAML\\\\Utils\\\\Crypto\\.$#"
195+
count: 1
196+
path: src/SOAPClient.php
197+
198+
-
199+
message: "#^Instantiated class SimpleSAML\\\\Utils\\\\Config not found\\.$#"
200+
count: 1
201+
path: src/SOAPClient.php
202+
203+
-
204+
message: "#^Instantiated class SimpleSAML\\\\Utils\\\\Crypto not found\\.$#"
205+
count: 1
206+
path: src/SOAPClient.php
207+
208+
-
209+
message: "#^Parameter \\$dstMetadata of method SimpleSAML\\\\SAML2\\\\SOAPClient\\:\\:send\\(\\) has invalid type SimpleSAML\\\\Configuration\\.$#"
210+
count: 2
211+
path: src/SOAPClient.php
212+
213+
-
214+
message: "#^Parameter \\$key of method SimpleSAML\\\\SAML2\\\\SOAPClient\\:\\:validateSSL\\(\\) has invalid type SimpleSAML\\\\XMLSecurity\\\\XMLSecurityKey\\.$#"
215+
count: 2
216+
path: src/SOAPClient.php
217+
218+
-
219+
message: "#^Parameter \\$srcMetadata of method SimpleSAML\\\\SAML2\\\\SOAPClient\\:\\:send\\(\\) has invalid type SimpleSAML\\\\Configuration\\.$#"
220+
count: 2
221+
path: src/SOAPClient.php
222+
223+
-
224+
message: "#^Unsafe usage of new static\\(\\)\\.$#"
225+
count: 2
226+
path: src/XML/md/AbstractEndpointType.php
227+
228+
-
229+
message: "#^Unsafe usage of new static\\(\\)\\.$#"
230+
count: 2
231+
path: src/XML/md/AbstractIndexedEndpointType.php
232+
233+
-
234+
message: "#^Unsafe usage of new static\\(\\)\\.$#"
235+
count: 2
236+
path: src/XML/md/AbstractLocalizedName.php
237+
238+
-
239+
message: "#^Call to an undefined static method SimpleSAML\\\\SAML2\\\\XML\\\\md\\\\AbstractSignedMdElement\\:\\:getXsiTypeNamespaceURI\\(\\)\\.$#"
240+
count: 1
241+
path: src/XML/md/AbstractSignedMdElement.php
242+
243+
-
244+
message: "#^Call to an undefined method SimpleSAML\\\\XML\\\\AbstractElement\\:\\:getList\\(\\)\\.$#"
245+
count: 1
246+
path: src/XML/md/ContactPerson.php
247+
248+
-
249+
message: "#^Call to an undefined method SimpleSAML\\\\XML\\\\AbstractElement\\:\\:getList\\(\\)\\.$#"
250+
count: 1
251+
path: src/XML/md/EntitiesDescriptor.php
252+
253+
-
254+
message: "#^Call to an undefined method SimpleSAML\\\\XML\\\\AbstractElement\\:\\:getList\\(\\)\\.$#"
255+
count: 1
256+
path: src/XML/md/Organization.php
257+
258+
-
259+
message: "#^Call to an undefined method DOMDocument\\:\\:setAttribute\\(\\)\\.$#"
260+
count: 1
261+
path: src/XML/mdui/Keywords.php
262+
263+
-
264+
message: "#^Call to an undefined method SimpleSAML\\\\XML\\\\Type\\\\ValueTypeInterface\\:\\:toArray\\(\\)\\.$#"
265+
count: 1
266+
path: src/XML/mdui/Keywords.php
267+
268+
-
269+
message: "#^Unsafe usage of new static\\(\\)\\.$#"
270+
count: 1
271+
path: src/XML/saml/Attribute.php
272+
273+
-
274+
message: "#^Unsafe usage of new static\\(\\)\\.$#"
275+
count: 1
276+
path: src/XML/saml/EncryptedAttribute.php
277+
278+
-
279+
message: "#^Unsafe usage of new static\\(\\)\\.$#"
280+
count: 1
281+
path: src/XML/saml/EncryptedID.php
282+
283+
-
284+
message: "#^Unsafe usage of new static\\(\\)\\.$#"
285+
count: 1
286+
path: src/XML/saml/NameIDType.php

phpstan.neon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ parameters:
22
level: 2
33
paths:
44
- src
5+
includes:
6+
- phpstan-baseline.neon

0 commit comments

Comments
 (0)