Total Complexity | 6 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class Payslip extends Model |
||
10 | { |
||
11 | protected $guarded = ['id']; |
||
12 | |||
13 | public function user() |
||
16 | } |
||
17 | |||
18 | public function payroll() |
||
21 | } |
||
22 | |||
23 | public function getTitleAttribute() |
||
24 | { |
||
25 | return 'Payslip from ' . $this->payroll->title; |
||
26 | } |
||
27 | |||
28 | public function employee() |
||
31 | } |
||
32 | |||
33 | public function earnings() |
||
36 | } |
||
37 | |||
38 | public function deductions() |
||
43 |
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