| Total Complexity | 4 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class UserChecker implements UserCheckerInterface |
||
| 21 | { |
||
| 22 | public function checkPreAuth(UserInterface $user): void |
||
| 23 | { |
||
| 24 | if (!$user instanceof User) { |
||
| 25 | return; |
||
| 26 | } |
||
| 27 | // if ($user->isDeleted()) { |
||
| 28 | // throw new CustomUserMessageAuthenticationException('Your user account is not enabled!'); |
||
| 29 | // } |
||
| 30 | } |
||
| 31 | |||
| 32 | public function checkPostAuth(UserInterface $user): void |
||
| 36 | } |
||
| 37 | // if ($user->isDeleted()) { |
||
| 42 |
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