Total Complexity | 6 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
14 | abstract class Generic extends GenericProperty |
||
15 | { |
||
16 | /** |
||
17 | * @var null|string |
||
18 | */ |
||
19 | protected $field = 'status'; |
||
20 | |||
21 | /** |
||
22 | * @var array |
||
23 | */ |
||
24 | protected $next = []; |
||
25 | |||
26 | /** |
||
27 | * @var self[] |
||
28 | */ |
||
29 | protected $nextStatuses = null; |
||
30 | |||
31 | /** |
||
32 | * @return self[] |
||
33 | */ |
||
34 | public function getNextStatuses() |
||
41 | } |
||
42 | |||
43 | public function initNextStatuses() |
||
44 | { |
||
45 | $statuses = []; |
||
46 | foreach ($this->next as $next) { |
||
47 | $statuses[] = clone $this->getManager()->getStatus($next); |
||
48 | } |
||
49 | |||
50 | $this->nextStatuses = $statuses; |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * @return bool |
||
55 | */ |
||
56 | public function needsAssessment() |
||
57 | { |
||
58 | return false; |
||
59 | } |
||
60 | |||
61 | /** |
||
62 | * @return string |
||
63 | */ |
||
64 | protected function getLabelSlug() |
||
67 | } |
||
68 | } |
||
69 |
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