Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
42 | public function getRepository(string $rootEntity) |
||
43 | { |
||
44 | $this->rootEntity = $rootEntity; |
||
45 | |||
46 | $additionalFilters = $this->customFilter |
||
47 | ->setUser($this->user) |
||
48 | ->allItemsTo($rootEntity); |
||
49 | |||
50 | return $this->manager |
||
51 | ->getRepository($this->rootEntity) |
||
52 | ->setRequestWithFilter( |
||
53 | $this->request, |
||
54 | $additionalFilters |
||
55 | ); |
||
58 |
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