Conditions | 2 |
Paths | 2 |
Total Lines | 16 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function testGetProviderRoot() |
||
27 | { |
||
28 | if( !class_exists( '\League\Flysystem\Phpcr\PhpcrAdapter' ) ) { |
||
29 | $this->markTestSkipped( 'Install Flysystem PHPCR adapter' ); |
||
30 | } |
||
31 | |||
32 | $config = array( |
||
33 | 'driver' => 'pdo_sqlite', |
||
34 | 'path' => '/tmp/fly_phpcr.db', |
||
35 | 'root' => '/', |
||
36 | ); |
||
37 | $object = new FlyPhpcr( $config ); |
||
38 | $this->assertInstanceof( \Aimeos\Base\Filesystem\Iface::class, $object ); |
||
39 | |||
40 | $this->expectException( \PHPCR\RepositoryException::class ); |
||
|
|||
41 | $object->has( 'test' ); |
||
42 | } |
||
44 |
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