Conditions | 3 |
Paths | 3 |
Total Lines | 17 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | #[Depends('testMarshalling')] |
||
30 | public function testArrayization(): void |
||
31 | { |
||
32 | if (!class_exists(self::$testedClass)) { |
||
33 | $this->markTestSkipped( |
||
34 | 'Unable to run ' . self::class . '::testArrayization(). Please set ' . self::class |
||
35 | . ':$element to a class-string representing the XML-class being tested', |
||
36 | ); |
||
37 | } elseif (self::$arrayRepresentation === null) { |
||
38 | $this->markTestSkipped( |
||
39 | 'Unable to run ' . self::class . '::testArrayization(). Please set ' . self::class |
||
40 | . ':$arrayRepresentation to an array representing the XML-class being tested', |
||
41 | ); |
||
42 | } else { |
||
43 | $this->assertEquals( |
||
44 | self::$arrayRepresentation, |
||
45 | self::$testedClass::fromArray(self::$arrayRepresentation)->toArray(), |
||
46 | ); |
||
50 |
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