| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class MarkdownService |
||
| 13 | { |
||
| 14 | /** @var TagAwareCacheInterface */ |
||
| 15 | private $cache; |
||
| 16 | |||
| 17 | /** @var MarkdownParserInterface */ |
||
| 18 | private $markdownParser; |
||
| 19 | |||
| 20 | /** @var LoggerInterface */ |
||
| 21 | private $logger; |
||
| 22 | |||
| 23 | public function __construct( |
||
| 24 | TagAwareCacheInterface $cache, |
||
| 25 | MarkdownParserInterface $markdownParserInterface, |
||
| 26 | LoggerInterface $logger |
||
| 27 | ) |
||
| 28 | { |
||
| 29 | $this->cache = $cache; |
||
| 30 | $this->markdownParser = $markdownParserInterface; |
||
| 31 | $this->logger = $logger; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function markdownToText(?string $markdown): string |
||
| 43 | }); |
||
| 44 | } |
||
| 46 |
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