| Conditions | 5 |
| Paths | 8 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 65 | public function send(bool $exit=false):void |
||
| 66 | { |
||
| 67 | http_response_code($this->code ?? 200); |
||
| 68 | |||
| 69 | if ($this->json) header('Content-Type: application/json'); |
||
| 70 | |||
| 71 | if ($this->data !== null) echo !$this->json ? $this->data : json_encode($this->data, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); |
||
| 72 | |||
| 73 | if ($exit) exit(EXIT_SUCCESS); |
||
| 74 | } |
||
| 77 |
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