| Conditions | 4 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function setValue(GetResponseForControllerResultEvent $event) |
||
| 29 | { |
||
| 30 | $playerChart = $event->getControllerResult(); |
||
| 31 | $method = $event->getRequest()->getMethod(); |
||
| 32 | |||
| 33 | if (!$playerChart instanceof PlayerChart || Request::METHOD_PUT !== $method) { |
||
| 34 | return; |
||
| 35 | } |
||
| 36 | |||
| 37 | foreach ($playerChart->getLibs() as $lib) { |
||
| 38 | $lib->setValueFromPaseValue(); |
||
| 39 | } |
||
| 42 |
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