| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function availableCards($dashboard) |
||
| 16 | { |
||
| 17 | if ($dashboard == 'main') { |
||
| 18 | return collect(DashboardNova::$default_dashboard_cards) |
||
| 19 | ->unique() |
||
| 20 | ->filter |
||
| 21 | ->authorize($this) |
||
| 22 | ->values(); |
||
| 23 | } |
||
| 24 | |||
| 25 | return DashboardNova::availableDashboardCardsForDashboard($dashboard, $this); |
||
| 26 | } |
||
| 28 |
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