Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class FactFinderNgImportSearchAdapter extends FactFinderAbstractAdapter |
||
14 | { |
||
15 | protected const FACT_FINDER_URL_IMPORT = 'import'; |
||
16 | protected const FACT_FINDER_URL_SEARCH = 'search'; |
||
17 | |||
18 | /** |
||
19 | * @param \Generated\Shared\Transfer\FactFinderNgRequestTransfer $factFinderNgRequestTransfer |
||
20 | * |
||
21 | * @return string |
||
22 | */ |
||
23 | protected function getUrl(FactFinderNgRequestTransfer $factFinderNgRequestTransfer): string |
||
24 | { |
||
25 | return sprintf( |
||
26 | '%s/%s/%s/%s/%s?channel=%s', |
||
27 | $this->config->getFactFinderUrl(), |
||
28 | static::FACT_FINDER_URL_TYPE_URL, |
||
29 | static::FACT_FINDER_URL_VERSION, |
||
30 | static::FACT_FINDER_URL_IMPORT, |
||
31 | static::FACT_FINDER_URL_SEARCH, |
||
32 | $this->getChannel() |
||
33 | ); |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @return string |
||
38 | */ |
||
39 | protected function getMethod(): string |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * @return string |
||
46 | */ |
||
47 | protected function getChannel(): string |
||
52 |
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