Total Complexity | 4 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
12 | class LoginContext extends CMSLoginContext |
||
13 | { |
||
14 | public function iAmLoggedInWithPermissions($permCode) |
||
15 | { |
||
16 | // Set MFA to optional, perform login logic, then skip MFA |
||
17 | $this->multiFactorAuthenticationIsOptional(); |
||
18 | parent::iAmLoggedInWithPermissions($permCode); |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * @Given multi factor authentication is optional |
||
23 | */ |
||
24 | public function multiFactorAuthenticationIsOptional() |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @When I select :option from the MFA settings |
||
36 | */ |
||
37 | public function iSelectFromTheMfaSettings($option) |
||
41 | } |
||
42 | } |
||
43 |
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