Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | public function optimiseImagesAction() |
||
27 | { |
||
28 | /** @var string $fromYear */ |
||
29 | $image = $this->params()->fromRoute('image'); |
||
30 | if ($image === null) { |
||
31 | die('You need the --image param.'); |
||
32 | } |
||
33 | |||
34 | try { |
||
35 | $this->getImageOptimiserService()->optimize($image); |
||
36 | } catch (Exception $exception) { |
||
37 | throw $exception; |
||
38 | } |
||
60 | } |
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