| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 2.0185 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | 1 | #[Override] |
|
| 23 | public function setTemplateVariables(GameControllerInterface $game): void |
||
| 24 | { |
||
| 25 | 1 | if ($game->getUser()->isInboxMessengerStyle()) { |
|
| 26 | $this->messengerStyleProvider->setTemplateVariables($game); |
||
| 27 | } else { |
||
| 28 | 1 | $this->ClassicStyleProvider->setTemplateVariables($game); |
|
| 29 | } |
||
| 30 | |||
| 31 | 1 | $this->componentRegistration->addComponentUpdate(GameComponentEnum::PM); |
|
| 32 | 1 | $game->addExecuteJS("initTranslations();", GameEnum::JS_EXECUTION_AFTER_RENDER); |
|
| 33 | } |
||
| 35 |
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