| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function view(User $user) { |
||
| 15 | if (Bouncer::can('view-users')) { |
||
| 16 | $associations = Association::where('user_id', $user->id)->get(); |
||
| 17 | |||
| 18 | $series = Series::where('user_id', $user->id)->get(); |
||
| 19 | |||
| 20 | return view('user', [ |
||
| 21 | 'user' => $user, |
||
| 22 | 'associations' => $associations, |
||
| 23 | 'series' => $series, |
||
| 24 | ]); |
||
| 25 | } |
||
| 26 | else { |
||
| 27 | return view('denied'); |
||
| 28 | } |
||
| 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