| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function configure() |
||
| 11 | { |
||
| 12 | $this |
||
| 13 | ->addDirective(Directive::BASE, Keyword::SELF) |
||
| 14 | ->addDirective(Directive::CONNECT, Keyword::SELF) |
||
| 15 | ->addDirective(Directive::DEFAULT, Keyword::SELF) |
||
| 16 | ->addDirective(Directive::FORM_ACTION, Keyword::SELF) |
||
| 17 | ->addDirective(Directive::IMG, Keyword::SELF) |
||
| 18 | ->addDirective(Directive::MEDIA, Keyword::SELF) |
||
| 19 | ->addDirective(Directive::OBJECT, Keyword::NONE) |
||
| 20 | ->addDirective(Directive::SCRIPT, Keyword::SELF) |
||
| 21 | ->addDirective(Directive::STYLE, Keyword::SELF) |
||
| 22 | ->addNonceForDirective(Directive::SCRIPT) |
||
| 23 | ->addNonceForDirective(Directive::STYLE); |
||
| 24 | } |
||
| 25 | } |
||
| 26 |