Total Complexity | 4 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class DropboxAdapter implements AdapterInterface |
||
11 | { |
||
12 | use CommonTrait; |
||
13 | |||
14 | protected $options; |
||
15 | private $client; |
||
16 | |||
17 | /** |
||
18 | * {@inheritDoc} |
||
19 | */ |
||
20 | public function createAdapter($options) |
||
21 | { |
||
22 | $this->options = $options; |
||
23 | $this->createClient(); |
||
24 | |||
25 | return new FlyDropboxAdapter($this->client); |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Find the public base URI for the resource |
||
30 | * |
||
31 | * This is actually generated on the fly in `AnyCloudFactory.php` |
||
32 | * because all Dropbox URIs are temporary and expire |
||
33 | * |
||
34 | * return string Base URL for the resource |
||
35 | */ |
||
36 | public function getUri() |
||
37 | { |
||
38 | return null; |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * Create client |
||
43 | */ |
||
44 | private function createClient() |
||
52 | } |
||
53 | } |
||
54 | } |
||
55 |
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