| Conditions | 2 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | public static function availableResourcesGrouped(Request $request) |
||
| 14 | { |
||
| 15 | return collect(self::availableResources($request))->filter(function ($resource) { |
||
| 16 | return $resource::$displayInNavigation; |
||
| 17 | })->groupBy(function ($resource) { |
||
| 18 | if (property_exists($resource, 'category')) { |
||
| 19 | return __(ucwords($resource::$category)); |
||
| 20 | } |
||
| 21 | |||
| 22 | return __('Other'); |
||
| 23 | })->sortKeys(); |
||
| 24 | } |
||
| 26 |
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