Commit 91a6f01
refactor: simplify Password validation by removing normalization
- Remove normalizeRevocationStatus() helper method as no longer needed
- Remove defensive mixed type handling and instanceof checks
- Trust CrlRevocationChecker type declarations that status is always enum
- logRevocationBlockedSigning() now accepts CrlValidationStatus directly
- Remove test cases with serialized string data (legacy compatibility no longer needed)
- Simplified code expresses contract: CRL validation status is always enum from source
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent b412ec3 commit 91a6f01
2 files changed
Lines changed: 4 additions & 52 deletions
File tree
- lib/Service/IdentifyMethod/SignatureMethod
- tests/php/Unit/Service/IdentifyMethod
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
63 | | - | |
| 62 | + | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 66 | + | |
79 | 67 | | |
80 | | - | |
| 68 | + | |
81 | 69 | | |
82 | 70 | | |
83 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | 251 | | |
288 | 252 | | |
289 | 253 | | |
| |||
0 commit comments