| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | readonly class UserExistenceCheckerRepository |
||
| 8 | { |
||
| 9 | 19 | public function __construct( |
|
| 12 | 19 | } |
|
| 13 | |||
| 14 | /** |
||
| 15 | * Checks if user with given email already exists. |
||
| 16 | * |
||
| 17 | * @param string $email |
||
| 18 | * @param int|null $userIdToExclude exclude user that already has the email from check (for update) |
||
| 19 | * |
||
| 20 | * @return bool |
||
| 21 | */ |
||
| 22 | 12 | public function userWithEmailAlreadyExists(string $email, ?int $userIdToExclude = null): bool |
|
| 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