| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class DropboxFactory implements FactoryInterface |
||
| 15 | { |
||
| 16 | protected function getConfigKey(): string |
||
| 17 | { |
||
| 18 | return 'dropbox'; |
||
| 19 | } |
||
| 20 | |||
| 21 | protected function getFilesystemAdapter(array $config): FilesystemAdapter |
||
| 22 | { |
||
| 23 | $client = new Client($config['access_token']); |
||
| 24 | $adapter = new DropboxAdapter($client); |
||
| 25 | |||
| 26 | return $adapter; |
||
| 27 | } |
||
| 28 | |||
| 29 | protected function getStore(array $config): StoreInterface |
||
| 36 | } |
||
| 37 | } |
||
| 38 |
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