| Total Complexity | 1 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 9 | class ApiAuthAccessEvent extends Model |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * The attributes that are mass assignable. |
||
| 13 | * |
||
| 14 | * @var array |
||
| 15 | */ |
||
| 16 | protected $fillable = [ |
||
| 17 | 'appid', |
||
| 18 | 'ip_address', |
||
| 19 | 'url', |
||
| 20 | 'params', |
||
| 21 | 'response_time', |
||
| 22 | 'type', |
||
| 23 | ]; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * The attributes that should be hidden for arrays. |
||
| 27 | * |
||
| 28 | * @var array |
||
| 29 | */ |
||
| 30 | protected $hidden = []; |
||
| 31 | |||
| 32 | protected $casts = [ |
||
| 33 | 'params' => 'array' |
||
| 34 | ]; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * ApiAuthAccessEvent constructor. |
||
| 38 | * @param array $attributes |
||
| 39 | */ |
||
| 40 | public function __construct(array $attributes = []) |
||
| 45 | } |
||
| 46 | } |
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