Total Complexity | 4 |
Total Lines | 56 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | abstract class AbstractDetector implements Chainable |
||
10 | { |
||
11 | /** @var Chainable */ |
||
12 | protected $successor; |
||
13 | |||
14 | /** |
||
15 | * @param FieldDetector $successor |
||
|
|||
16 | */ |
||
17 | public function setNext(Chainable $successor) |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * Execute the chain. |
||
24 | * |
||
25 | * @param string $column |
||
26 | * @param Column $metadata |
||
27 | * @param Model $model |
||
28 | * |
||
29 | * @return null|mixed |
||
30 | */ |
||
31 | public function __invoke(string $column, Column $metadata, Model $model) |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * Authorize execution. |
||
46 | * |
||
47 | * @param string $column |
||
48 | * @param Column $metadata |
||
49 | * @param Model $model |
||
50 | * |
||
51 | * @return bool |
||
52 | */ |
||
53 | abstract protected function authorize(string $column, Column $metadata, Model $model): bool; |
||
54 | |||
55 | /** |
||
56 | * Detect field class. |
||
57 | * |
||
58 | * @param string $column |
||
59 | * @param Column $metadata |
||
60 | * @param Model $model |
||
61 | * |
||
62 | * @return mixed |
||
63 | */ |
||
64 | abstract protected function detect(string $column, Column $metadata, Model $model); |
||
65 | } |
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