Total Complexity | 5 |
Total Lines | 63 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | trait FunctionReferenceTrait |
||
11 | { |
||
12 | /** |
||
13 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionReferenceExpressionType[] $functionReference |
||
14 | */ |
||
15 | private $functionReference = array( |
||
16 | |||
17 | ); |
||
18 | |||
19 | /** |
||
20 | * Adds as functionReference |
||
21 | * |
||
22 | * @return self |
||
23 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionReferenceExpressionType $functionReference |
||
24 | */ |
||
25 | public function addToFunctionReference(TFunctionReferenceExpressionType $functionReference) |
||
|
|||
26 | { |
||
27 | $this->functionReference[] = $functionReference; |
||
28 | return $this; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * isset functionReference |
||
33 | * |
||
34 | * @param scalar $index |
||
35 | * @return boolean |
||
36 | */ |
||
37 | public function issetFunctionReference($index) |
||
38 | { |
||
39 | return isset($this->functionReference[$index]); |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * unset functionReference |
||
44 | * |
||
45 | * @param scalar $index |
||
46 | * @return void |
||
47 | */ |
||
48 | public function unsetFunctionReference($index) |
||
49 | { |
||
50 | unset($this->functionReference[$index]); |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * Gets as functionReference |
||
55 | * |
||
56 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionReferenceExpressionType[] |
||
57 | */ |
||
58 | public function getFunctionReference() |
||
61 | } |
||
62 | |||
63 | /** |
||
64 | * Sets a new functionReference |
||
65 | * |
||
66 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionReferenceExpressionType[] $functionReference |
||
67 | * @return self |
||
68 | */ |
||
69 | public function setFunctionReference(array $functionReference) |
||
75 |
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