| Total Complexity | 5 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class Video extends Model |
||
| 11 | { |
||
| 12 | use LogsActivity, Thumbnail; |
||
| 13 | |||
| 14 | protected $guarded = []; |
||
| 15 | |||
| 16 | // Forget cache on updating or saving and deleting |
||
| 17 | public static function boot() |
||
| 31 | }); |
||
| 32 | } |
||
| 33 | |||
| 34 | // Cache Keys |
||
| 35 | private static function cacheKey() |
||
| 38 | } |
||
| 39 | |||
| 40 | // Appends |
||
| 41 | protected $appends = ['video_html']; |
||
| 42 | |||
| 43 | // Logs |
||
| 44 | protected static $logName = 'video'; |
||
| 45 | |||
| 46 | public function getVideoHtmlAttribute() |
||
| 53 |
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