Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
29 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
||
30 | { |
||
31 | $stream = fopen('php://memory', 'r+'); |
||
32 | fwrite($stream, $request->getAttribute('ncryptf-decrypted-body')); |
||
33 | rewind($stream); |
||
34 | return Factory::createResponse() |
||
35 | ->withBody(new \Zend\Diactoros\Stream($stream)); |
||
36 | } |
||
38 |
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