Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
34 | 3 | public function toCmsArray() |
|
35 | { |
||
36 | return [ |
||
37 | 3 | 'id' => $this->id, |
|
38 | 3 | 'name' => $this->filename, |
|
39 | 3 | 'src' => FileService::getUrl($this->uuid), |
|
40 | 3 | 'original' => FileService::getUrl($this->uuid), |
|
41 | 3 | 'size' => $this->size, |
|
42 | 3 | 'filesizeInMb' => number_format($this->attributes['size'] / 1048576, 2), |
|
43 | ]; |
||
51 |
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