Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | public function init(): void |
||
13 | { |
||
14 | parent::init(); |
||
15 | $this->setLabel('Country'); |
||
16 | $this->setTransformer(new CountryTransformer()); |
||
17 | $countryRepository = new CountryRepository(); |
||
18 | $countries = $countryRepository->findAllCountries(); |
||
19 | $this->setOption('', ''); |
||
20 | |||
21 | foreach ($countries as $c) { |
||
22 | $this->setOption($c->getIso(), $c->getName()); |
||
23 | } |
||
26 |
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