| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | 1 | #[Override] |
|
| 20 | public function setTemplateVariables(GameControllerInterface $game): void |
||
| 21 | { |
||
| 22 | 1 | $user = $game->getUser(); |
|
| 23 | |||
| 24 | 1 | $game->appendNavigationPart( |
|
| 25 | 1 | 'options.php', |
|
| 26 | 1 | _('Optionen') |
|
| 27 | 1 | ); |
|
| 28 | |||
| 29 | 1 | $game->setTemplateVar('DISTINCT_SETTING_WRAPPERS', array_map(fn(UserSettingEnum $type): UserSettingWrapper => new UserSettingWrapper($user, $type, $game->isAdmin(), $this->userSettingsProvider), UserSettingEnum::getDistinct())); |
|
| 30 | 1 | $game->setTemplateVar('SETTING_WRAPPERS', array_map(fn(UserSettingEnum $type): UserSettingWrapper => new UserSettingWrapper($user, $type, $game->isAdmin(), $this->userSettingsProvider), UserSettingEnum::getNonDistinct())); |
|
| 31 | |||
| 32 | 1 | $game->setTemplateVar('REAL_USER', $user); |
|
| 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