| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 18 | class MailService implements SiteConfigAwareInterface, ViewAwareInterface |
||
| 19 | { |
||
| 20 | |||
| 21 | use HasSiteConfigTrait; |
||
| 22 | use HasViewTrait; |
||
| 23 | |||
| 24 | private Mailer $mailer; |
||
| 25 | |||
| 26 | public function setMailer(Mailer $mailer): void |
||
| 27 | { |
||
| 28 | 2 | $this->mailer = $mailer; |
|
| 29 | } |
||
| 30 | 2 | ||
| 31 | private function renderEmail(string $template, array $data): string |
||
| 34 | } |
||
| 35 | |||
| 36 | public function sendEmail(EmailMessage $message): bool |
||
| 47 |
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