| Conditions | 2 |
| Paths | 5 |
| Total Lines | 17 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | public function __invoke(Request $request, DefaultEncrypter $encrypter) |
||
| 30 | { |
||
| 31 | try { |
||
| 32 | $data = json_decode($encrypter->decrypt($request->get('encrypted')), true); |
||
| 33 | |||
| 34 | $hydrate = new Hydrate($data); |
||
| 35 | |||
| 36 | $response = $hydrate->handle(); |
||
| 37 | |||
| 38 | return response()->json([ |
||
| 39 | 'response_type' => get_class($response), |
||
| 40 | 'response' => $encrypter->encrypt($response->getBodyContents()), |
||
| 41 | ]); |
||
| 42 | } catch (Throwable $t) { |
||
| 43 | return [ |
||
| 44 | 'exception' => get_class($t), |
||
| 45 | 'message' => $t->getMessage(), |
||
| 46 | ]; |
||
| 50 |
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