Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | trait Base64Encode { |
||
21 | |||
22 | /** |
||
23 | * Returns base64 encoded data of a preview |
||
24 | * |
||
25 | * Using base64_encode for files which are downloaded |
||
26 | * (cached Thumbnails, SVG, GIFs) and using __toStrings |
||
27 | * for the previews which are instances of \OC_Image |
||
28 | * |
||
29 | * @param \OC_Image|string $previewData |
||
30 | * |
||
31 | * @return string |
||
32 | */ |
||
33 | protected function encode($previewData) { |
||
43 |
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