| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class HouseAd extends Model |
||
| 8 | { |
||
| 9 | |||
| 10 | protected $guarded = []; |
||
| 11 | |||
| 12 | protected $hidden = ['image_portrait', 'image_landscape', 'confirmed_count', 'cancelled_count', 'created_at', 'updated_at']; |
||
| 13 | |||
| 14 | protected $appends = ['url_image_portrait', 'url_image_landscape']; |
||
| 15 | |||
| 16 | public function getUrlImagePortraitAttribute() |
||
| 17 | { |
||
| 18 | return public_path().'/images/'.$this->image_portrait; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function getUrlImageLandscapeAttribute() |
||
| 24 | } |
||
| 25 | |||
| 26 | public function stat() |
||
| 32 |
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