Total Complexity | 8 |
Total Lines | 86 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class ComparisonContext |
||
11 | { |
||
12 | /** |
||
13 | * @var array |
||
14 | */ |
||
15 | protected $fieldMap = []; |
||
16 | |||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | protected $fragmentNames = []; |
||
21 | |||
22 | /** |
||
23 | * @var array|Conflict[] |
||
24 | */ |
||
25 | protected $conflicts = []; |
||
26 | |||
27 | /** |
||
28 | * @param FieldContext $field |
||
29 | * @return $this |
||
30 | */ |
||
31 | public function registerField(FieldContext $field) |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * @param NodeInterface|FragmentSpreadNode|FragmentDefinitionNode $fragment |
||
46 | * @return $this |
||
47 | */ |
||
48 | public function registerFragment(NodeInterface $fragment) |
||
49 | { |
||
50 | $this->fragmentNames[] = $fragment->getNameValue(); |
||
51 | |||
52 | return $this; |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * @param Conflict $conflict |
||
57 | * @return $this |
||
58 | */ |
||
59 | public function reportConflict(Conflict $conflict) |
||
64 | } |
||
65 | |||
66 | /** |
||
67 | * @return array |
||
68 | */ |
||
69 | public function getFieldMap(): array |
||
72 | } |
||
73 | |||
74 | /** |
||
75 | * @return array |
||
76 | */ |
||
77 | public function getFragmentNames(): array |
||
80 | } |
||
81 | |||
82 | /** |
||
83 | * @return bool |
||
84 | */ |
||
85 | public function hasConflicts(): bool |
||
88 | } |
||
89 | |||
90 | /** |
||
91 | * @return array|Conflict[] |
||
92 | */ |
||
93 | public function getConflicts() |
||
98 |
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