Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | public static function boot() |
||
33 | { |
||
34 | // create user default dashboard |
||
35 | User::created(function(User $user) { |
||
36 | $defaultDashboard = Dashboard::where('user_id', 0)->first(); |
||
37 | |||
38 | $userDefaultDashboard = clone $defaultDashboard; |
||
39 | |||
40 | $userDefaultDashboard->name = __('Default'); |
||
41 | $userDefaultDashboard->user_id = $user->id; |
||
42 | |||
43 | $userDefaultDashboard->save(); |
||
44 | }); |
||
47 |
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