| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | 104 | public function __construct( |
|
| 25 | string $name, |
||
| 26 | string $value, |
||
| 27 | ?LoggerInterface $logger = null, |
||
| 28 | ?GenericConsumerMimeLiteralPartService $consumerService = null |
||
| 29 | ) { |
||
| 30 | 104 | $di = MailMimeParser::getGlobalContainer(); |
|
| 31 | 104 | parent::__construct( |
|
| 32 | 104 | $logger ?? $di->get(LoggerInterface::class), |
|
| 33 | 104 | $consumerService ?? $di->get(DateConsumerService::class), |
|
|
|
|||
| 34 | 104 | $name, |
|
| 35 | 104 | $value |
|
| 36 | 104 | ); |
|
| 37 | 104 | parent::__construct($logger, $consumerService, $name, $value); |
|
| 38 | } |
||
| 48 |
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