Total Complexity | 5 |
Total Lines | 84 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | class Sources extends AbstractModel |
||
21 | { |
||
22 | /** |
||
23 | * |
||
24 | * @var integer |
||
25 | */ |
||
26 | public $id; |
||
27 | |||
28 | /** |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | public $title; |
||
33 | |||
34 | /** |
||
35 | * |
||
36 | * @var string |
||
37 | */ |
||
38 | public $url; |
||
39 | |||
40 | /** |
||
41 | * |
||
42 | * @var integer |
||
43 | */ |
||
44 | public $language_id; |
||
45 | |||
46 | /** |
||
47 | * |
||
48 | * @var string |
||
49 | */ |
||
50 | public $created_at; |
||
51 | |||
52 | /** |
||
53 | * |
||
54 | * @var string |
||
55 | */ |
||
56 | public $updated_at; |
||
57 | |||
58 | /** |
||
59 | * |
||
60 | * @var integer |
||
61 | */ |
||
62 | public $is_deleted; |
||
63 | |||
64 | /** |
||
65 | * Initialize method for model. |
||
66 | */ |
||
67 | public function initialize() |
||
70 | } |
||
71 | |||
72 | /** |
||
73 | * Returns table name mapped in the model. |
||
74 | * |
||
75 | * @return string |
||
76 | */ |
||
77 | public function getSource(): string |
||
80 | } |
||
81 | |||
82 | /** |
||
83 | * Verify if source is Apple |
||
84 | */ |
||
85 | public function isApple(): bool |
||
86 | { |
||
87 | return $this->title == 'apple'; |
||
88 | } |
||
89 | |||
90 | /** |
||
91 | * Validate Apple User. |
||
92 | * @param string $identityToken |
||
93 | * @return object |
||
94 | */ |
||
95 | public function validateAppleUser(string $identityToken): object |
||
104 | } |
||
105 | } |
||
106 |
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