Closed ruudk closed 1 month ago
So, you are using $em->getRespository()
approach? In such case, I'd expect no need for constructor declaration in children. In past (before we got rid of EntityRepository
completely), we had all repositories registered as DIC services (which should be detected by dead-code-detector).
But I'm just curious, I'll add support for this, thanks.
No, we're not using the $em->getRepository()
approach but inject repositories as dependencies. But it's related to this: https://github.com/shipmonk-rnd/dead-code-detector/issues/92
It should not complain about the constructor.