| Total Complexity | 6 |
| Total Lines | 84 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Client extends Model |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * The database table used by the model. |
||
| 11 | * |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $table = 'oauth_clients'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * The guarded attributes on the model. |
||
| 18 | * |
||
| 19 | * @var array |
||
| 20 | */ |
||
| 21 | protected $guarded = []; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The attributes excluded from the model's JSON form. |
||
| 25 | * |
||
| 26 | * @var array |
||
| 27 | */ |
||
| 28 | protected $hidden = [ |
||
| 29 | 'secret', |
||
| 30 | ]; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * The attributes that should be cast to native types. |
||
| 34 | * |
||
| 35 | * @var array |
||
| 36 | */ |
||
| 37 | protected $casts = [ |
||
| 38 | 'personal_access_client' => 'bool', |
||
| 39 | 'password_client' => 'bool', |
||
| 40 | 'revoked' => 'bool', |
||
| 41 | ]; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Get all of the authentication codes for the client. |
||
| 45 | * |
||
| 46 | * @return \Illuminate\Database\Eloquent\Relations\HasMany |
||
| 47 | */ |
||
| 48 | public function authCodes() |
||
| 49 | { |
||
| 50 | return $this->hasMany(AuthCode::class); |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Get all of the tokens that belong to the client. |
||
| 55 | * |
||
| 56 | * @return \Illuminate\Database\Eloquent\Relations\HasMany |
||
| 57 | */ |
||
| 58 | public function tokens() |
||
| 61 | } |
||
| 62 | |||
| 63 | /** |
||
| 64 | * Determine if the client is a "first party" client. |
||
| 65 | * |
||
| 66 | * @return bool |
||
| 67 | */ |
||
| 68 | public function firstParty() |
||
| 71 | } |
||
| 72 | |||
| 73 | /** |
||
| 74 | * Determine if the client should skip the authorization prompt. |
||
| 75 | * |
||
| 76 | * @return bool |
||
| 77 | */ |
||
| 78 | public function skipsAuthorization() |
||
| 79 | { |
||
| 80 | return false; |
||
| 81 | } |
||
| 82 | |||
| 83 | /** |
||
| 84 | * Determine if the client is a confidential client. |
||
| 85 | * |
||
| 86 | * @return bool |
||
| 87 | */ |
||
| 88 | public function confidential() |
||
| 91 | } |
||
| 92 | } |
||
| 93 |
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