| Conditions | 7 |
| Paths | 4 |
| Total Lines | 22 |
| Code Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| 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 | } |
||
| 44 | } |
||
| 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