| Total Complexity | 2 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class WikiTextHelper |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var SiteConfiguration |
||
| 17 | */ |
||
| 18 | private $configuration; |
||
| 19 | /** |
||
| 20 | * @var HttpHelper |
||
| 21 | */ |
||
| 22 | private $http; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * WikiTextHelper constructor. |
||
| 26 | * |
||
| 27 | * @param SiteConfiguration $configuration |
||
| 28 | * @param HttpHelper $http |
||
| 29 | */ |
||
| 30 | 1 | public function __construct(SiteConfiguration $configuration, HttpHelper $http) |
|
| 34 | 1 | } |
|
| 35 | |||
| 36 | /** |
||
| 37 | * Gets the HTML for the provided wiki-markup from the MediaWiki service endpoint |
||
| 38 | * |
||
| 39 | * @param string $wikiText |
||
| 40 | * |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | 1 | public function getHtmlForWikiText($wikiText) |
|
| 62 | } |
||
| 63 | } |
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