1 | <?php |
||
2 | |||
3 | |||
4 | return [ |
||
5 | /* |
||
6 | |-------------------------------------------------------------------------- |
||
7 | | Open Payroll Seeder Data |
||
8 | |-------------------------------------------------------------------------- |
||
9 | | |
||
10 | | These values is the default for the references data which refer to |
||
11 | | deduction types, earning types, payroll and payslip statuses. |
||
12 | | You may add / remove as necessary for your needs. |
||
13 | | |
||
14 | */ |
||
15 | |||
16 | 'seeds' => [ |
||
17 | 'deduction_types' => [ |
||
18 | 'Loan', |
||
19 | 'Income Tax', |
||
20 | ], |
||
21 | 'earning_types' => [ |
||
22 | 'Basic', |
||
23 | 'Overtime', |
||
24 | 'Allowance', |
||
25 | 'Bonus', |
||
26 | 'Claim', |
||
27 | 'Other', |
||
28 | ], |
||
29 | 'payroll_statuses' => [ |
||
30 | 'Active', 'Inactive', 'Locked', |
||
31 | ], |
||
32 | 'payslip_statuses' => [ |
||
33 | 'Active', 'Inactive', 'Locked', |
||
34 | ], |
||
35 | ], |
||
36 | |||
37 | /* |
||
38 | |-------------------------------------------------------------------------- |
||
39 | | Open Payroll Models |
||
40 | |-------------------------------------------------------------------------- |
||
41 | | |
||
42 | | These values is the default for the models used in Open Payroll. |
||
43 | | You may extend / replace the following models as necessary. |
||
44 | | |
||
45 | */ |
||
46 | |||
47 | 'models' => [ |
||
48 | 'user' => \App\User::class, |
||
0 ignored issues
–
show
|
|||
49 | 'employee' => \App\Models\OpenPayroll\Employee::class, |
||
50 | 'payroll' => \CleaniqueCoders\OpenPayroll\Models\Payroll\Payroll::class, |
||
51 | 'payroll_statuses' => \CleaniqueCoders\OpenPayroll\Models\Payroll\Status::class, |
||
52 | 'payslip' => \CleaniqueCoders\OpenPayroll\Models\Payslip\Payslip::class, |
||
53 | 'payslip_statuses' => \CleaniqueCoders\OpenPayroll\Models\Payslip\Status::class, |
||
54 | 'deduction' => \CleaniqueCoders\OpenPayroll\Models\Deduction\Deduction::class, |
||
55 | 'deduction_types' => \CleaniqueCoders\OpenPayroll\Models\Deduction\Type::class, |
||
56 | 'earning' => \CleaniqueCoders\OpenPayroll\Models\Earning\Earning::class, |
||
57 | 'earning_types' => \CleaniqueCoders\OpenPayroll\Models\Earning\Type::class, |
||
58 | ], |
||
59 | |||
60 | /* |
||
61 | |-------------------------------------------------------------------------- |
||
62 | | Open Payroll Tables |
||
63 | |-------------------------------------------------------------------------- |
||
64 | | |
||
65 | | These values is the tables used in Open Payroll. Changing these values |
||
66 | | require additional setup on seeders and models. |
||
67 | | |
||
68 | */ |
||
69 | |||
70 | 'tables' => [ |
||
71 | 'names' => [ |
||
72 | 'earnings', |
||
73 | 'deductions', |
||
74 | 'payslips', |
||
75 | 'payrolls', |
||
76 | 'payroll_statuses', |
||
77 | 'earning_types', |
||
78 | 'deduction_types', |
||
79 | ], |
||
80 | ], |
||
81 | |||
82 | /* |
||
83 | |-------------------------------------------------------------------------- |
||
84 | | Open Payroll Payslip Processors |
||
85 | |-------------------------------------------------------------------------- |
||
86 | | |
||
87 | | These values is the default processors for earnings and deductions. |
||
88 | | By default, no processors required for each earning and deductions. |
||
89 | | |
||
90 | */ |
||
91 | |||
92 | 'processors' => [ |
||
93 | 'default_earning' => \CleaniqueCoders\OpenPayroll\Processors\Earning\BaseEarningProcessor::class, |
||
94 | 'default_deduction' => \CleaniqueCoders\OpenPayroll\Processors\Earning\BaseEarningProcessor::class, |
||
95 | 'earnings' => [ |
||
96 | // 'Basic' => \CleaniqueCoders\OpenPayroll\Processors\Earning\BasicEarningProcessor::class, |
||
97 | // 'Overtime' => \CleaniqueCoders\OpenPayroll\Processors\Earning\OvertimeEarningProcessor::class, |
||
98 | // 'Allowance' => \CleaniqueCoders\OpenPayroll\Processors\Earning\AllowanceEarningProcessor::class, |
||
99 | // 'Bonus' => \CleaniqueCoders\OpenPayroll\Processors\Earning\BonusEarningProcessor::class, |
||
100 | // 'Claim' => \CleaniqueCoders\OpenPayroll\Processors\Earning\ClaimEarningProcessor::class, |
||
101 | // 'Other' => \CleaniqueCoders\OpenPayroll\Processors\Earning\OtherEarningProcessor::class, |
||
102 | ], |
||
103 | 'deductions' => [ |
||
104 | // 'Loan' => \CleaniqueCoders\OpenPayroll\Processors\Deduction\LoanProcessor::class, |
||
105 | // 'IncomeTax' => \CleaniqueCoders\OpenPayroll\Processors\Deduction\IncomeTaxProcessor::class, |
||
106 | ], |
||
107 | ], |
||
108 | ]; |
||
109 |
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