Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function pre_http_request( $preempt, $request, $url ) { |
||
31 | $response = file_get_contents( dirname( __FILE__ ) . '/Mock/GetIssuersXml200.http', true ); |
||
32 | |||
33 | $processed_response = WP_Http::processResponse( $response ); |
||
34 | |||
35 | $processed_headers = WP_Http::processHeaders( $processed_response['headers'], $url ); |
||
36 | $processed_headers['body'] = $processed_response['body']; |
||
37 | |||
38 | return $processed_headers; |
||
39 | } |
||
51 |
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