Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
18 | class DatasourceEvent extends Event |
||
19 | { |
||
20 | |||
21 | /** @var string */ |
||
22 | protected $event; |
||
23 | /** @var \Closure[] */ |
||
24 | protected $collections = []; |
||
25 | |||
26 | /** |
||
27 | * @param string $datasource |
||
28 | * @since 9.1.0 |
||
29 | */ |
||
30 | public function registerDatasource(string $datasource) |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @return \Closure[] |
||
37 | * @since 9.1.0 |
||
38 | */ |
||
39 | public function getDataSources() |
||
42 | } |
||
43 | } |
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