| Total Complexity | 2 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Arcanesoft\Foundation\ViewComposers\System; |
||
| 11 | class FoldersPermissionsComposer |
||
| 12 | { |
||
| 13 | /* ----------------------------------------------------------------- |
||
| 14 | | Constants |
||
| 15 | | ----------------------------------------------------------------- |
||
| 16 | */ |
||
| 17 | |||
| 18 | const VIEW = 'foundation::admin.system.information._includes.folders-permissions'; |
||
| 19 | |||
| 20 | /* ----------------------------------------------------------------- |
||
| 21 | | Main Methods |
||
| 22 | | ----------------------------------------------------------------- |
||
| 23 | */ |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Compose the view. |
||
| 27 | * |
||
| 28 | * @param \Illuminate\View\View $view |
||
| 29 | */ |
||
| 30 | public function compose(View $view) |
||
| 37 | ])); |
||
| 38 | } |
||
| 39 | |||
| 40 | /* ----------------------------------------------------------------- |
||
| 41 | | Other Methods |
||
| 42 | | ----------------------------------------------------------------- |
||
| 43 | */ |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Prepare the permissions. |
||
| 47 | * |
||
| 48 | * @param array $folders |
||
| 49 | * |
||
| 50 | * @return \Illuminate\Support\Collection |
||
| 51 | */ |
||
| 52 | private function prepare(array $folders) |
||
| 66 |
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