| Conditions | 3 |
| Paths | 4 |
| Total Lines | 19 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| 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 | default: |
||
| 21 | return; |
||
| 22 | break; |
||
| 23 | } |
||
| 24 | |||
| 25 | return $this->assign($order); |
||
| 26 | |||
| 27 | } catch (\Exception $e) { |
||
| 28 | echo $e->getMessage(); |
||
| 29 | } |
||
| 45 |
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