| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class CleanupGeneratedPdfDailyTask implements CronTask |
||
| 17 | { |
||
| 18 | use Configurable; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * The cron schedule for this task (default: midnight every day) |
||
| 22 | * |
||
| 23 | * @config |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | private static $schedule = '0 0 * * *'; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Whether this task is enabled (default false) |
||
| 30 | * |
||
| 31 | * @config |
||
| 32 | * @return bool |
||
| 33 | */ |
||
| 34 | private static $enabled = false; |
||
| 35 | |||
| 36 | private static $segment = 'CleanupGeneratedPdfDailyTask'; |
||
| 37 | |||
| 38 | public function getSchedule() |
||
| 39 | { |
||
| 40 | return $this->config()->get('schedule'); |
||
| 41 | } |
||
| 42 | |||
| 43 | public function process() |
||
| 51 | } |
||
| 52 | } |
||
| 53 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths