| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | #[Override] |
||
| 42 | public function getByTargetOwner(UserInterface $user): array |
||
| 43 | { |
||
| 44 | return $this->getEntityManager()->createQuery( |
||
| 45 | sprintf( |
||
| 46 | 'SELECT sto FROM %s sto |
||
| 47 | JOIN %s sp |
||
| 48 | WITH sto.target = sp |
||
| 49 | WHERE sp.user = :user', |
||
| 50 | ShipTakeover::class, |
||
| 51 | Spacecraft::class |
||
| 52 | ) |
||
| 53 | ) |
||
| 54 | ->setParameter('user', $user) |
||
| 55 | ->getResult(); |
||
| 56 | } |
||
| 58 |
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