Total Complexity | 1 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
10 | final class SecurityHeader |
||
11 | { |
||
12 | public const CONTENT_SECURITY_POLICY = 'content-security-policy'; |
||
13 | public const EXPECT_CT = 'expect-ct'; |
||
14 | public const REFERRER_POLICY = 'referrer-policy'; |
||
15 | public const SET_COOKIE = 'set-cookie'; |
||
16 | public const SERVER = 'server'; |
||
17 | public const STRICT_TRANSPORT_SECURITY = 'strict-transport-security'; |
||
18 | public const X_FRAME_OPTIONS = 'x-frame-options'; |
||
19 | public const X_CONTENT_TYPE_OPTIONS = 'x-content-type-options'; |
||
20 | public const X_POWERED_BY = 'x-powered-by'; |
||
21 | public const X_XSS_PROTECTION = 'x-xss-protection'; |
||
22 | |||
23 | public function all(): array |
||
28 |