Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
23 | class ImageResponse extends Response { |
||
24 | |||
25 | /** |
||
26 | * @var \OC_Image|string |
||
27 | */ |
||
28 | private $preview; |
||
29 | |||
30 | /** |
||
31 | * Constructor |
||
32 | * |
||
33 | * @param array $image image meta data |
||
34 | * @param int $statusCode the HTTP status code, defaults to 200 |
||
35 | */ |
||
36 | public function __construct(array $image, $statusCode = Http::STATUS_OK) { |
||
45 | ); |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * Returns the rendered image |
||
50 | * |
||
51 | * @return string the file |
||
52 | */ |
||
53 | public function render() { |
||
63 |
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