Conditions | 4 |
Paths | 3 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | public function setValue(ViewEvent $event): void |
||
33 | { |
||
34 | $playerChart = $event->getControllerResult(); |
||
35 | $method = $event->getRequest()->getMethod(); |
||
36 | |||
37 | if (($playerChart instanceof PlayerChart) |
||
38 | && in_array($method, array(Request::METHOD_POST, Request::METHOD_PUT))) { |
||
39 | /** @var PlayerChartLib $lib */ |
||
40 | foreach ($playerChart->getLibs() as $lib) { |
||
41 | $lib->setValueFromPaseValue(); |
||
42 | } |
||
46 |
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