| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 44 | 1 | #[Override] |
|
| 45 | public function getPirateWrathTop10(): array |
||
| 46 | { |
||
| 47 | 1 | return $this->getEntityManager() |
|
| 48 | 1 | ->createQuery( |
|
| 49 | 1 | sprintf( |
|
| 50 | 1 | 'SELECT pw |
|
| 51 | FROM %s pw |
||
| 52 | 1 | ORDER BY pw.wrath DESC', |
|
| 53 | 1 | PirateWrath::class |
|
| 54 | 1 | ) |
|
| 55 | 1 | ) |
|
| 56 | 1 | ->setMaxResults(10) |
|
| 57 | 1 | ->getResult(); |
|
| 58 | } |
||
| 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