| Conditions | 5 | 
| Paths | 5 | 
| Total Lines | 19 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 47 | private function compressionPossible(Request $request, $response): bool | ||
| 48 |     { | ||
| 49 |         if (!config('html-min.enable')) { | ||
| 50 | return false; | ||
| 51 | } | ||
| 52 | |||
| 53 |         if (!in_array(strtoupper($request->getMethod()), ['GET', 'HEAD'])) { | ||
| 54 | return false; | ||
| 55 | } | ||
| 56 | |||
| 57 |         if (!$response instanceof Response) { | ||
| 58 | return false; | ||
| 59 | } | ||
| 60 | |||
| 61 |         if ($response->getStatusCode() >= 500) { | ||
| 62 | return false; | ||
| 63 | } | ||
| 64 | |||
| 65 | return true; | ||
| 66 | } | ||
| 68 | 
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