| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | protected function getFilesystemAdapter(array $config): FilesystemAdapter |
||
| 20 | { |
||
| 21 | $client = new StorageClient([ |
||
| 22 | 'projectId' => $config['project_id'], |
||
| 23 | 'keyFilePath' => sprintf('%s/modules/AnyCloud%s', OMEKA_PATH, $config['credentials_path']), |
||
| 24 | ]); |
||
| 25 | $bucket = $client->bucket($config['bucket_name']); |
||
| 26 | $adapter = new GoogleCloudStorageAdapter($bucket); |
||
| 27 | |||
| 28 | return $adapter; |
||
| 29 | } |
||
| 31 |
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