| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function beforeCallActionHandler() |
||
| 23 | { |
||
| 24 | $config = Config::inst(); |
||
| 25 | /** @var Security */ |
||
| 26 | $owner = $this->owner; |
||
| 27 | $action = $owner->getAction(); |
||
| 28 | $allowedActions = $config->get(Security::class, 'allowed_actions'); |
||
| 29 | $excludedActions = $config->get(self::class, 'excluded_actions'); |
||
| 30 | $themeActions = array_diff($allowedActions, $excludedActions); |
||
| 31 | if (in_array($action, $themeActions)) |
||
| 32 | { |
||
| 33 | SSViewer::set_themes($config->get(self::class, 'login_themes')); |
||
| 34 | } |
||
| 37 |
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