Conditions | 3 |
Paths | 3 |
Total Lines | 14 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
33 | protected function getProvider() |
||
34 | { |
||
35 | if( !isset( $this->fs ) ) |
||
36 | { |
||
37 | $config = $this->getConfig(); |
||
38 | |||
39 | if( !isset( $config['filepath'] ) ) { |
||
40 | throw new Exception( sprintf( 'Configuration option "%1$s" missing', 'filepath' ) ); |
||
41 | } |
||
42 | |||
43 | $this->fs = new Filesystem( new ZipArchiveAdapter( $config['filepath'] ) ); |
||
44 | } |
||
45 | |||
46 | return $this->fs; |
||
47 | } |
||
49 |
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