| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class DownloadService extends Service { |
||
| 24 | |||
| 25 | use Base64Encode; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Downloads the requested file |
||
| 29 | * |
||
| 30 | * @param File $file |
||
| 31 | * @param bool $base64Encode |
||
| 32 | * |
||
| 33 | * @return array|false |
||
| 34 | * @throws NotFoundServiceException |
||
| 35 | */ |
||
| 36 | public function downloadFile($file, $base64Encode = false) { |
||
| 58 |
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