| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function findCardByGameAndTeam(Game $game, Team $team) |
||
| 25 | { |
||
| 26 | $cards = $this->getEntityManager() |
||
| 27 | ->createQuery( |
||
| 28 | 'SELECT c FROM TorakelDatabaseBundle:Card c WHERE c.game = :game AND c.team = :team' |
||
| 29 | )->setParameter('game', $game)->setParameter('team', $team) |
||
| 30 | ->getResult(); |
||
| 31 | return $cards; |
||
| 32 | } |
||
| 33 | } |
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