| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class ExpenseCategory extends Model |
||
| 9 | { |
||
| 10 | use createdByUser, updatedByUser; |
||
| 11 | |||
| 12 | protected $table = 'mst_expenses_categories'; |
||
| 13 | |||
| 14 | protected $fillable = [ |
||
| 15 | 'name', |
||
| 16 | 'total_expense', |
||
| 17 | 'status', |
||
| 18 | 'created_by', |
||
| 19 | 'updated_by', |
||
| 20 | ]; |
||
| 21 | |||
| 22 | public function scopeExcludeArchive($query) |
||
| 25 | } |
||
| 26 | |||
| 27 | public function expenses() |
||
| 32 |
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