forked from SAML-Toolkits/php-saml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
216 lines (174 loc) · 6.25 KB
/
phpstan-baseline.neon
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
206
207
208
209
210
211
212
213
214
215
216
parameters:
ignoreErrors:
-
message: "#^Method OneLogin\\\\Saml2\\\\Auth\\:\\:processSLO\\(\\) should return string\\|null but return statement is missing\\.$#"
count: 1
path: src/Saml2/Auth.php
-
message: "#^Property OneLogin\\\\Saml2\\\\Auth\\:\\:\\$_paths is never read, only written\\.$#"
count: 1
path: src/Saml2/Auth.php
-
message: "#^Call to an undefined method DOMNode\\:\\:getAttribute\\(\\)\\.$#"
count: 1
path: src/Saml2/IdPMetadataParser.php
-
message: "#^Call to an undefined method DOMNode\\:\\:hasAttribute\\(\\)\\.$#"
count: 1
path: src/Saml2/IdPMetadataParser.php
-
message: "#^Access to an undefined property DOMNode\\:\\:\\$tagName\\.$#"
count: 3
path: src/Saml2/Response.php
-
message: "#^Call to an undefined method DOMNode\\:\\:getAttribute\\(\\)\\.$#"
count: 8
path: src/Saml2/Response.php
-
message: "#^Call to an undefined method DOMNode\\:\\:getElementsByTagName\\(\\)\\.$#"
count: 1
path: src/Saml2/Response.php
-
message: "#^Call to an undefined method DOMNode\\:\\:hasAttribute\\(\\)\\.$#"
count: 3
path: src/Saml2/Response.php
-
message: "#^Call to an undefined method DOMNode\\:\\:hasAttributeNS\\(\\)\\.$#"
count: 2
path: src/Saml2/Response.php
-
message: "#^PHPDoc tag @var has invalid value \\(\\$entry DOMNode\\)\\: Unexpected token \"\\$entry\", expected type at offset 9$#"
count: 1
path: src/Saml2/Response.php
-
message: "#^Variable \\$noa might not be defined\\.$#"
count: 1
path: src/Saml2/Response.php
-
message: "#^Variable \\$settings in PHPDoc tag @var does not exist\\.$#"
count: 1
path: src/Saml2/Settings.php
-
message: "#^Variable \\$settings might not be defined\\.$#"
count: 2
path: src/Saml2/Settings.php
-
message: "#^Access to an undefined property DOMNode\\:\\:\\$tagName\\.$#"
count: 1
path: src/Saml2/Utils.php
-
message: "#^Call to an undefined method DOMNode\\:\\:getAttribute\\(\\)\\.$#"
count: 2
path: src/Saml2/Utils.php
-
message: "#^Method OneLogin\\\\Saml2\\\\Utils\\:\\:decryptElement\\(\\) should return DOMElement but returns DOMNode\\.$#"
count: 1
path: src/Saml2/Utils.php
-
message: "#^Method OneLogin\\\\Saml2\\\\Utils\\:\\:formatCert\\(\\) should return string but empty return statement found\\.$#"
count: 1
path: src/Saml2/Utils.php
-
message: "#^Method OneLogin\\\\Saml2\\\\Utils\\:\\:formatFingerPrint\\(\\) should return string but empty return statement found\\.$#"
count: 1
path: src/Saml2/Utils.php
-
message: "#^Method OneLogin\\\\Saml2\\\\Utils\\:\\:formatPrivateKey\\(\\) should return string but empty return statement found\\.$#"
count: 1
path: src/Saml2/Utils.php
-
message: "#^Method OneLogin\\\\Saml2\\\\Utils\\:\\:parseSAML2Time\\(\\) should return int but returns null\\.$#"
count: 1
path: src/Saml2/Utils.php
-
message: "#^PHPDoc tag @param for parameter \\$encAlg with type string\\|null is not subtype of native type string\\.$#"
count: 1
path: src/Saml2/Utils.php
-
message: "#^Property RobRichards\\\\XMLSecLibs\\\\XMLSecurityDSig\\:\\:\\$sigNode \\(DOMElement\\|null\\) does not accept DOMNode\\|null\\.$#"
count: 1
path: src/Saml2/Utils.php
-
message: "#^Static property OneLogin\\\\Saml2\\\\Utils\\:\\:\\$_protocolRegex \\(string\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: src/Saml2/Utils.php
-
message: "#^Variable \\$curData in isset\\(\\) always exists and is not nullable\\.$#"
count: 1
path: src/Saml2/Utils.php
-
message: "#^Call to function file_get_contents\\(\\) on a separate line has no effect\\.$#"
count: 1
path: tests/src/OneLogin/Saml2/AuthTest.php
-
message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertFalse\\(\\) with true will always evaluate to false\\.$#"
count: 29
path: tests/src/OneLogin/Saml2/AuthTest.php
-
message: "#^Variable \\$settingsInfo might not be defined\\.$#"
count: 11
path: tests/src/OneLogin/Saml2/AuthTest.php
-
message: "#^Variable \\$settingsInfo might not be defined\\.$#"
count: 11
path: tests/src/OneLogin/Saml2/AuthnRequestTest.php
-
message: "#^Variable \\$settingsInfo might not be defined\\.$#"
count: 2
path: tests/src/OneLogin/Saml2/IdPMetadataParserTest.php
-
message: "#^Variable \\$settingsInfo might not be defined\\.$#"
count: 12
path: tests/src/OneLogin/Saml2/LogoutRequestTest.php
-
message: "#^Method OneLogin\\\\Saml2\\\\LogoutResponse\\:\\:getIssuer\\(\\) invoked with 1 parameter, 0 required\\.$#"
count: 2
path: tests/src/OneLogin/Saml2/LogoutResponseTest.php
-
message: "#^Variable \\$settingsInfo might not be defined\\.$#"
count: 8
path: tests/src/OneLogin/Saml2/LogoutResponseTest.php
-
message: "#^Dead catch \\- Error is never thrown in the try block\\.$#"
count: 2
path: tests/src/OneLogin/Saml2/MetadataTest.php
-
message: "#^Variable \\$settingsInfo might not be defined\\.$#"
count: 8
path: tests/src/OneLogin/Saml2/MetadataTest.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: tests/src/OneLogin/Saml2/MetadataTest.php
-
message: "#^Cannot call method getMessage\\(\\) on null\\.$#"
count: 1
path: tests/src/OneLogin/Saml2/ResponseTest.php
-
message: "#^Variable \\$settingsInfo might not be defined\\.$#"
count: 3
path: tests/src/OneLogin/Saml2/ResponseTest.php
-
message: "#^Dead catch \\- Error is never thrown in the try block\\.$#"
count: 1
path: tests/src/OneLogin/Saml2/SettingsTest.php
-
message: "#^Variable \\$settingsInfo might not be defined\\.$#"
count: 28
path: tests/src/OneLogin/Saml2/SettingsTest.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 2
path: tests/src/OneLogin/Saml2/SettingsTest.php
-
message: "#^Variable \\$settingsInfo might not be defined\\.$#"
count: 1
path: tests/src/OneLogin/Saml2/SignedResponseTest.php
-
message: "#^Access to an undefined property DOMNode\\:\\:\\$tagName\\.$#"
count: 9
path: tests/src/OneLogin/Saml2/UtilsTest.php
-
message: "#^Variable \\$settingsInfo might not be defined\\.$#"
count: 13
path: tests/src/OneLogin/Saml2/UtilsTest.php