| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public function handle($path, $remoteUrl, array $options = []){ |
||
| 24 | $config = new Config($options); |
||
| 25 | if (method_exists($this->filesystem, 'getConfig')) { |
||
| 26 | $config->setFallback($this->filesystem->getConfig()); |
||
| 27 | } |
||
| 28 | |||
| 29 | //Get file stream from remote url |
||
| 30 | $resource = fopen($remoteUrl, 'r'); |
||
| 31 | |||
| 32 | return (bool)$this->filesystem->getAdapter()->writeStream($path, $resource, $config); |
||
| 33 | } |
||
| 35 |
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