No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
15a1ff8
... +1 ...
2954e55
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
89 | 89 | ||
90 | 90 | /** |
|
91 | 91 | * Check the alg claim is in the list of valid algorithms. These are the |
|
92 | - | * valid digital signatures, MAC algorithms or "none" as |
|
93 | - | * defined in RFC 7518. |
|
92 | + | * valid digital signatures, MAC algorithms as defined in RFC 7518. |
|
94 | 93 | */ |
|
95 | 94 | public function algorithm(string $algorithm, array $additional): bool |
|
96 | 95 | { |
|
97 | - | $base = ["none", "HS256"]; |
|
96 | + | $base = ["HS256"]; |
|
98 | 97 | ||
99 | 98 | return in_array($algorithm, array_merge($base, $additional)); |
|
100 | 99 | } |
Files | Complexity | Coverage |
---|---|---|
src | ø | 100.00% |
Project Totals (9 files) | 110 | 100.00% |
2954e55
defc662
15a1ff8