| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function testProcess() |
||
| 32 | { |
||
| 33 | $dom = new \DOMDocument(); |
||
| 34 | $product = \Aimeos\MShop::create( $this->context, 'product' )->createItem(); |
||
| 35 | |||
| 36 | $dom->loadXML( '<?xml version="1.0" encoding="UTF-8" standalone="no" ?> |
||
| 37 | <lists> |
||
| 38 | <text><textitem></textitem></text> |
||
| 39 | <media><mediaitem></mediaitem></media> |
||
| 40 | <price><priceitem></priceitem></price> |
||
| 41 | </lists>' ); |
||
| 42 | |||
| 43 | $product = $this->object->process( $product, $dom->firstChild ); |
||
| 44 | |||
| 45 | $this->assertEquals( 1, count( $product->getListItems( 'text' ) ) ); |
||
| 46 | $this->assertEquals( 1, count( $product->getListItems( 'media' ) ) ); |
||
| 47 | $this->assertEquals( 1, count( $product->getListItems( 'price' ) ) ); |
||
| 48 | } |
||
| 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