Total Complexity | 2 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class ClientServiceDescription extends Description |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * The JSON Schema Path |
||
16 | */ |
||
17 | protected $schema_path; |
||
18 | |||
19 | /** |
||
20 | * Acquia Client Service descriptions. |
||
21 | * |
||
22 | * Loads the commands available from a service via JSON file located in the |
||
23 | * service SDK. |
||
24 | * |
||
25 | * @param string $schema_path |
||
26 | * The full path to the JDSL JSON schema being loaded. |
||
27 | * |
||
28 | * @param array $options |
||
29 | * An array of options to use when configuring the service description. |
||
30 | */ |
||
31 | public function __construct(string $schema_path, array $options = []) |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * Returns the path to the file containing the service description schema. |
||
41 | * |
||
42 | * @return string |
||
43 | * The path to the service description schema file. |
||
44 | */ |
||
45 | protected function getSchemaPath(): string |
||
50 |
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