Conditions | 5 |
Paths | 5 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | public function __construct($identifier = null) |
||
13 | { |
||
14 | if (! is_null($identifier)) { |
||
15 | if (is_string($identifier) || is_int($identifier)) { |
||
16 | $this->payslip = Payslip::query() |
||
17 | ->with('earnings', 'deductions', 'payroll', 'employee', 'employee.salary') |
||
18 | ->whereId($identifier) |
||
19 | ->orWhere('hashslug', $identifier) |
||
20 | ->firstOrFail(); |
||
21 | } |
||
22 | |||
23 | if (is_object($identifier)) { |
||
24 | $this->payslip($identifier); |
||
25 | } |
||
60 |
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