Total Complexity | 3 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
28 | class ConfigController extends Controller { |
||
29 | |||
30 | use Config; |
||
31 | use HttpError; |
||
32 | |||
33 | /** |
||
34 | * Constructor |
||
35 | * |
||
36 | * @param string $appName |
||
37 | * @param IRequest $request |
||
38 | * @param ConfigService $configService |
||
39 | * @param ILogger $logger |
||
40 | */ |
||
41 | public function __construct( |
||
42 | $appName, |
||
43 | IRequest $request, |
||
44 | ConfigService $configService, |
||
45 | ILogger $logger |
||
46 | ) { |
||
47 | parent::__construct($appName, $request); |
||
48 | |||
49 | $this->configService = $configService; |
||
50 | $this->logger = $logger; |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * @NoAdminRequired |
||
55 | * |
||
56 | * Returns an app configuration array |
||
57 | * |
||
58 | * @param bool $extramediatypes |
||
59 | * |
||
60 | * @return array <string,null|array> |
||
61 | */ |
||
62 | public function get($extramediatypes = false) { |
||
67 | } |
||
68 | } |
||
71 |
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