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