Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class FileManager |
||
9 | { |
||
10 | public function __construct(private FilesystemManager $filesystemManager) |
||
12 | } |
||
13 | |||
14 | /** |
||
15 | * Upload the file |
||
16 | * |
||
17 | * @codeCoverageIgnore |
||
18 | */ |
||
19 | public function upload(UploadOption $uploadOption): ?File |
||
20 | { |
||
21 | // TODO: implements |
||
22 | return null; |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * Get the URL of the File |
||
27 | * |
||
28 | * @codeCoverageIgnore |
||
29 | */ |
||
30 | public function preview(File $file): ?string |
||
33 | } |
||
34 | } |
||
35 |
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