| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 44 | 3 | public function sendValidationMail(User $user): bool |
|
| 45 | { |
||
| 46 | 3 | $nbRecipients = $this->mailer->sendTo($user->getEmail(), 'users.registration.mails.confirmation', [ |
|
| 47 | 3 | '%username%' => $user->getUsername(), |
|
| 48 | 3 | '%activation_link%' => $user->getActivationLink()->getHash() |
|
| 49 | 3 | ], 'Personal'); |
|
| 50 | 3 | return $nbRecipients > 0; |
|
| 51 | } |
||
| 62 |
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