Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class ImageResponse extends Response |
||
22 | { |
||
23 | |||
24 | private $preview; |
||
25 | |||
26 | /** |
||
27 | * @param array $image image meta data |
||
28 | * @param int $statusCode the Http status code, defaults to 200 |
||
29 | */ |
||
30 | public function __construct(array $image, $statusCode = Http::STATUS_OK) |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * Returns the rendered image |
||
42 | * |
||
43 | * @return string the file |
||
44 | */ |
||
45 | public function render() |
||
54 |
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