Total Complexity | 3 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class Show extends AbstractController |
||
15 | { |
||
16 | private S3Client $s3client; |
||
17 | |||
18 | public function __construct(S3Client $s3client) |
||
19 | { |
||
20 | $this->s3client = $s3client; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @Route(path="/proof/picture/{id}", requirements={"id": "[1-9]\d*"}, name="vgr_core_picture_index", methods={"GET"}) |
||
25 | * @Cache(expires="+30 days") |
||
26 | * @param Picture $picture |
||
27 | * @throws Exception |
||
28 | */ |
||
29 | public function __invoke(Picture $picture): void |
||
48 | } |
||
49 | } |
||
50 |
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