| Total Complexity | 5 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Coverage | 47.83% |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | final class PirateWrathRepository extends EntityRepository implements PirateWrathRepositoryInterface |
||
| 18 | { |
||
| 19 | #[Override] |
||
| 20 | public function save(PirateWrath $wrath): void |
||
| 21 | { |
||
| 22 | $em = $this->getEntityManager(); |
||
| 23 | |||
| 24 | $em->persist($wrath); |
||
| 25 | } |
||
| 26 | |||
| 27 | #[Override] |
||
| 28 | public function delete(PirateWrath $wrath): void |
||
| 29 | { |
||
| 30 | $em = $this->getEntityManager(); |
||
| 31 | $em->remove($wrath); |
||
| 32 | $em->flush(); |
||
| 33 | } |
||
| 34 | |||
| 35 | #[Override] |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return PirateWrath[] |
||
| 43 | */ |
||
| 44 | 1 | #[Override] |
|
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return PirateWrath[] |
||
| 62 | */ |
||
| 63 | #[Override] |
||
| 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