| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | class SchedulerTaskExecutionFailedEvent extends SchedulerTaskEvent |
||
| 29 | { |
||
| 30 | /** |
||
| 31 | * @label Event/Scheduler:task.execution_failed.marker.exception |
||
| 32 | * @marker |
||
| 33 | * |
||
| 34 | * @var Throwable |
||
| 35 | */ |
||
| 36 | protected $exception; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param AbstractTask $task |
||
| 40 | * @param Throwable $exception |
||
| 41 | */ |
||
| 42 | public function run(AbstractTask $task, Throwable $exception) |
||
| 43 | { |
||
| 44 | $this->checkTaskFilter($task); |
||
| 45 | $this->fillTaskData($task); |
||
| 46 | |||
| 47 | $this->exception = $exception; |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return array |
||
| 52 | */ |
||
| 53 | public function getExampleProperties(): array |
||
| 58 | ]; |
||
| 59 | } |
||
| 61 |
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