Total Complexity | 2 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 7 | ||
Bugs | 0 | Features | 0 |
1 | <?php namespace Arcanesoft\Foundation\ViewComposers; |
||
13 | class SidebarComposer |
||
14 | { |
||
15 | /* ----------------------------------------------------------------- |
||
16 | | Constants |
||
17 | | ----------------------------------------------------------------- |
||
18 | */ |
||
19 | |||
20 | const VIEW = 'foundation::admin._template.sidebar-main'; |
||
21 | |||
22 | /* ----------------------------------------------------------------- |
||
23 | | Properties |
||
24 | | ----------------------------------------------------------------- |
||
25 | */ |
||
26 | |||
27 | /** |
||
28 | * The Sidebar instance. |
||
29 | * |
||
30 | * @var \Arcanesoft\Sidebar\Contracts\Manager |
||
31 | */ |
||
32 | protected $sidebar; |
||
33 | |||
34 | /* ----------------------------------------------------------------- |
||
35 | | Constructor |
||
36 | | ----------------------------------------------------------------- |
||
37 | */ |
||
38 | |||
39 | /** |
||
40 | * SidebarComposer constructor. |
||
41 | * |
||
42 | * @param \Arcanesoft\Sidebar\Contracts\Manager $sidebar |
||
43 | */ |
||
44 | public function __construct(SidebarManager $sidebar) |
||
47 | } |
||
48 | |||
49 | /* ----------------------------------------------------------------- |
||
50 | | Main Methods |
||
51 | | ----------------------------------------------------------------- |
||
52 | */ |
||
53 | |||
54 | /** |
||
55 | * Bind data to the view. |
||
56 | * |
||
57 | * @param \Illuminate\View\View $view |
||
58 | */ |
||
59 | public function compose(View $view) |
||
67 |
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