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