| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Slug extends Model |
||
| 8 | { |
||
| 9 | |||
| 10 | public $timestamps = false; |
||
| 11 | |||
| 12 | protected $primaryKey = 'name'; |
||
| 13 | |||
| 14 | public $incrementing = false; |
||
| 15 | |||
| 16 | protected $fillable = [ |
||
| 17 | 'name', |
||
| 18 | ]; |
||
| 19 | |||
| 20 | public function getRouteKeyName() |
||
| 21 | { |
||
| 22 | return 'name'; |
||
| 23 | } |
||
| 24 | |||
| 25 | public function __construct(array $attributes = []) |
||
| 31 | } |
||
| 32 | |||
| 33 | public function slugable() |
||
| 36 | } |
||
| 37 | } |
||
| 38 |
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