Conditions | 4 |
Paths | 3 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 5.2596 |
Changes | 0 |
1 | <?php |
||
26 | 2 | public function init() |
|
27 | { |
||
28 | 2 | parent::init(); |
|
29 | 2 | $member = Security::getCurrentUser(); |
|
30 | 2 | if ($member && $member->exists()) { |
|
31 | $config = SiteConfig::current_site_config(); |
||
32 | if ($config->LoginCallBackUrl()->URLSegment) { |
||
33 | return $this->redirect($config->LoginCallBackUrl()->URLSegment); |
||
34 | } |
||
52 |
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