| Total Complexity | 4 |
| Total Lines | 65 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class TestCountryDao extends CountryBaseDao |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @return CountryBean[]|ResultInterface |
||
| 18 | */ |
||
| 19 | public function getCountriesByUserCount() |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return CountryBean[]|ResultInterface |
||
| 34 | */ |
||
| 35 | public function getCountriesUsingUnion() |
||
| 36 | { |
||
| 37 | $sql = <<<SQL |
||
| 38 | SELECT country.* |
||
| 39 | FROM country |
||
| 40 | WHERE country.id = 1 |
||
| 41 | UNION |
||
| 42 | SELECT country.* |
||
| 43 | FROM country |
||
| 44 | WHERE country.id = 2 |
||
| 45 | SQL; |
||
| 46 | |||
| 47 | return $this->findFromRawSql($sql); |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return CountryBean[]|ResultInterface |
||
| 52 | */ |
||
| 53 | public function getCountriesUsingSimpleQuery() |
||
| 62 | } |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return CountryBean[]|ResultInterface |
||
| 66 | */ |
||
| 67 | public function getCountriesUsingDistinctQuery() |
||
| 79 | } |
||
| 80 | } |
||
| 81 |
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