Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | class GetCompanies extends AbstractController |
||
23 | { |
||
24 | private JsonResponse $jsonResponse; |
||
25 | private ReadCompany $readCompany; |
||
26 | |||
27 | public function __construct( |
||
28 | ReadCompany $readCompany, |
||
29 | SerializerInterface $serializer, |
||
30 | JsonResponse $jsonResponse |
||
31 | ) { |
||
32 | parent::__construct($serializer); |
||
33 | |||
34 | $this->jsonResponse = $jsonResponse; |
||
35 | $this->readCompany = $readCompany; |
||
36 | } |
||
37 | |||
38 | public function __invoke(): Response |
||
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