Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | final class AppCode |
||
10 | { |
||
11 | public function execute() : void |
||
12 | { |
||
13 | $sliced = $this->createArrayCollection() |
||
14 | ->slice(0, 1); |
||
15 | |||
16 | $sliced = (new MyCollection()) |
||
17 | ->slice(0, 2); |
||
18 | |||
19 | $sliced = (new MyArrayCollection()) |
||
20 | ->slice(0, 3); |
||
21 | } |
||
22 | |||
23 | private function createArrayCollection() : ArrayCollection |
||
26 | } |
||
27 | } |
||
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