Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class RemoveUnreferencedCSPDocumentsTask extends BuildTask |
||
9 | { |
||
10 | protected $title = 'Remove unreferenced CSP Document URIs'; |
||
11 | |||
12 | protected $description = 'CSP Document URIs that are not referenced by a CSP violation report can be safely removed.'; |
||
13 | |||
14 | /** |
||
15 | * {@inheritDoc} |
||
16 | * @see \SilverStripe\Dev\BuildTask::run() |
||
17 | */ |
||
18 | public function run($request) |
||
25 | } |
||
26 | |||
27 | public function isEnabled() |
||
32 | } |