Total Complexity | 2 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | final class Index |
||
14 | { |
||
15 | /** |
||
16 | * @var \KoenHoeijmakers\LaravelFilterable\Filtering |
||
17 | */ |
||
18 | protected $filtering; |
||
19 | |||
20 | /** |
||
21 | * Index constructor. |
||
22 | * |
||
23 | * @param \KoenHoeijmakers\LaravelFilterable\Contracts\Filtering $filtering |
||
24 | */ |
||
25 | public function __construct(Filtering $filtering) |
||
26 | { |
||
27 | $this->filtering = $filtering; |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @param \Illuminate\Http\Request $request |
||
32 | * @return \Illuminate\Http\Resources\Json\AnonymousResourceCollection |
||
33 | */ |
||
34 | public function __invoke(Request $request) |
||
50 | } |
||
51 | } |
||
52 |
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