| Total Complexity | 6 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | final class MailerConfig extends InjectableConfig |
||
| 10 | { |
||
| 11 | public const CONFIG = 'mailer'; |
||
| 12 | |||
| 13 | 23 | public function __construct( |
|
| 14 | array $config = [ |
||
| 15 | 'dsn' => '', |
||
| 16 | 'from' => '', |
||
| 17 | 'queue' => null, |
||
| 18 | 'queueConnection' => null, |
||
| 19 | 'transportFactories' => [] |
||
| 20 | ] |
||
| 21 | ) { |
||
| 22 | 23 | parent::__construct($config); |
|
| 23 | } |
||
| 24 | |||
| 25 | 10 | public function getDSN(): string |
|
| 26 | { |
||
| 27 | 10 | return $this->config['dsn'] ?? ''; |
|
| 28 | } |
||
| 29 | |||
| 30 | 7 | public function getFromAddress(): string |
|
| 33 | } |
||
| 34 | |||
| 35 | 7 | public function getQueue(): ?string |
|
| 38 | } |
||
| 39 | |||
| 40 | 4 | public function getQueueConnection(): ?string |
|
| 41 | { |
||
| 42 | 4 | return $this->config['queueConnection'] ?? null; |
|
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return list<class-string<\Symfony\Component\Mailer\Transport\TransportFactoryInterface>> |
||
|
|
|||
| 47 | */ |
||
| 48 | 8 | public function getTransportFactories(): array |
|
| 51 | } |
||
| 52 | } |
||
| 53 |
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