Conditions | 5 |
Paths | 10 |
Total Lines | 24 |
Code Lines | 19 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | public function createNfe(Order $order, $model, $version = '4.0') |
||
11 | { |
||
12 | |||
13 | $this->model = $model; |
||
14 | $this->version = $version; |
||
15 | try { |
||
16 | switch ($this->model) { |
||
17 | case '65': |
||
18 | $this->cupomFiscal($order); |
||
19 | break; |
||
20 | case '55': |
||
21 | $this->nfe($order); |
||
22 | break; |
||
23 | case '57': |
||
24 | $this->cte($order); |
||
25 | break; |
||
26 | default: |
||
27 | return; |
||
28 | break; |
||
29 | } |
||
30 | |||
31 | return $this->sign($order); |
||
32 | } catch (\Exception $e) { |
||
33 | echo $e->getMessage(); |
||
34 | } |
||
58 |
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