Conditions | 3 |
Paths | 3 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 7 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | public function generatePrintData($printType, $deviceType) |
||
30 | { |
||
31 | |||
32 | if ($printType === 'pos') { |
||
33 | if ($deviceType === 'cielo') { |
||
34 | return [ |
||
35 | "operation" => "PRINT_TEXT", |
||
36 | "styles" => [[]], |
||
37 | "value" => [$this->text] |
||
38 | ]; |
||
39 | } |
||
40 | } |
||
41 | |||
42 | throw new Exception("Printer type not found", 1); |
||
43 | } |
||
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