Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 42.86% |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
14 | trait HasManagerTrait |
||
15 | { |
||
16 | /** |
||
17 | * @var null|Records|RecordsTranslated|HasTypesRecords |
||
18 | */ |
||
19 | protected $manager; |
||
20 | |||
21 | |||
22 | /** |
||
23 | * @return Records|RecordsTranslated|HasTypesRecords |
||
24 | */ |
||
25 | public function getManager() |
||
26 | { |
||
27 | return $this->manager; |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @param Records|RecordsTrait $manager |
||
32 | * @return $this |
||
33 | */ |
||
34 | 14 | public function setManager($manager) |
|
39 | } |
||
40 | |||
41 | /** |
||
42 | * @return bool |
||
43 | */ |
||
44 | public function hasManager() |
||
47 | } |
||
48 | } |
||
49 |
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