| Total Complexity | 1 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class AuthCode extends Model |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * The database table used by the model. |
||
| 11 | * |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $table = 'oauth_auth_codes'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * The guarded attributes on the model. |
||
| 18 | * |
||
| 19 | * @var array |
||
| 20 | */ |
||
| 21 | protected $guarded = []; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The attributes that should be cast to native types. |
||
| 25 | * |
||
| 26 | * @var array |
||
| 27 | */ |
||
| 28 | protected $casts = [ |
||
| 29 | 'revoked' => 'bool', |
||
| 30 | ]; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * The attributes that should be mutated to dates. |
||
| 34 | * |
||
| 35 | * @var array |
||
| 36 | */ |
||
| 37 | protected $dates = [ |
||
| 38 | 'expires_at', |
||
| 39 | ]; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Get the client that owns the authentication code. |
||
| 43 | * |
||
| 44 | * @return \Illuminate\Database\Eloquent\Relations\HasMany |
||
| 45 | */ |
||
| 46 | public function client() |
||
| 51 |
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