Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function testExtractLdJson() |
||
23 | { |
||
24 | $this::markTestSkipped('after refactoring'); |
||
25 | |||
26 | $publisher = new ExternalAction('foo'); |
||
|
|||
27 | |||
28 | $source = file_get_contents(__DIR__.'/exampleExternPage.html'); |
||
29 | $data = $publisher->extractDataFromHTML($source); |
||
30 | $jsonLd = $data['JSON-LD']; |
||
31 | $this::assertArrayHasKey('@type', $jsonLd); |
||
32 | $this::assertArrayHasKey('headline', $jsonLd); |
||
33 | } |
||
35 |
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