| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class Daily extends TimedJob |
||
| 17 | { |
||
| 18 | |||
| 19 | private $logger; |
||
| 20 | private $DataloadService; |
||
| 21 | |||
| 22 | public function __construct(ITimeFactory $time, |
||
| 23 | LoggerInterface $logger, |
||
| 24 | DataloadService $DataloadService |
||
| 25 | ) |
||
| 26 | { |
||
| 27 | parent::__construct($time); |
||
| 28 | $this->setInterval((60 * 60 * 24) - 120); // 2 minutes because exact times would drift to the next cron execution |
||
| 29 | $this->logger = $logger; |
||
| 30 | $this->DataloadService = $DataloadService; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function run($arguments) |
||
| 38 | // no action |
||
| 39 | } |
||
| 42 | } |
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