Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class RouteCollection extends CollectionFile |
||
12 | { |
||
13 | /** |
||
14 | * 属性 |
||
15 | * |
||
16 | * @var RouteMatcher[] |
||
17 | */ |
||
18 | protected $collection; |
||
19 | |||
20 | /** |
||
21 | * 创建集合 |
||
22 | * |
||
23 | * @param RouteMatcher[] $collection |
||
24 | */ |
||
25 | public function __construct(array $collection=[]) |
||
28 | } |
||
29 | |||
30 | public function merge(array $collection=[]) { |
||
31 | $this->collection = $collection; |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * 获取迭代器 |
||
36 | * |
||
37 | * @return Iterator |
||
38 | */ |
||
39 | public function getIterator():Iterator |
||
45 | } |
||
46 | } |
||
47 |
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