Total Complexity | 4 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class Totals extends Template |
||
20 | { |
||
21 | /** |
||
22 | * Get data (totals) source model. |
||
23 | * |
||
24 | * @return DataObject |
||
25 | */ |
||
26 | public function getSource() |
||
27 | { |
||
28 | return $this->getParentBlock()->getSource(); |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Get Invoice data. |
||
33 | * |
||
34 | * @return invoice |
||
35 | */ |
||
36 | public function getInvoice() |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * Initialize payment moip_interest totals. |
||
43 | * |
||
44 | * @return $this |
||
45 | */ |
||
46 | public function initTotals() |
||
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