Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | #[CoversClass(AbstractDsElement::class)] |
||
25 | #[CoversClass(X509SKI::class)] |
||
26 | final class X509SKITest extends TestCase |
||
27 | { |
||
28 | use SerializableElementTestTrait; |
||
29 | |||
30 | /** |
||
31 | */ |
||
32 | public static function setUpBeforeClass(): void |
||
33 | { |
||
34 | self::$testedClass = X509SKI::class; |
||
35 | |||
36 | self::$xmlRepresentation = DOMDocumentFactory::fromFile( |
||
37 | dirname(__FILE__, 3) . '/resources/xml/ds_X509SKI.xml', |
||
38 | ); |
||
39 | } |
||
40 | |||
41 | |||
42 | /** |
||
43 | */ |
||
44 | public function testMarshalling(): void |
||
45 | { |
||
46 | $X509SKI = new X509SKI('/CTj03d1DB5e2t7CTo9BEzCf5S9NRzwnBgZRlm32REI='); |
||
47 | |||
48 | $this->assertEquals( |
||
49 | XMLDumper::dumpDOMDocumentXMLWithBase64Content(self::$xmlRepresentation), |
||
50 | strval($X509SKI), |
||
51 | ); |
||
52 | } |
||
53 | |||
54 | |||
55 | /** |
||
56 | */ |
||
57 | public function testMarshallingNotBase64(): void |
||
61 | } |
||
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