| Total Complexity | 4 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class File extends Model |
||
| 9 | { |
||
| 10 | public $timestamps = true; |
||
| 11 | |||
| 12 | protected $fillable = [ |
||
| 13 | 'uuid', |
||
| 14 | 'filename', |
||
| 15 | 'size', |
||
| 16 | ]; |
||
| 17 | |||
| 18 | public function getSizeAttribute($value) |
||
| 19 | { |
||
| 20 | return bytesToHuman($value); |
||
| 21 | } |
||
| 22 | |||
| 23 | public function canDeleteSafely() |
||
| 26 | } |
||
| 27 | |||
| 28 | public function toCmsArray() |
||
| 36 | ]; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function getTable() |
||
| 44 |
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