| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | public function setUp() |
||
| 30 | { |
||
| 31 | parent::setUp(); |
||
| 32 | |||
| 33 | $reader = new AnnotationReader(); |
||
| 34 | $metadataDriver = new AnnotationDriver($reader, User::class); |
||
| 35 | |||
| 36 | $this->em = $this->_getTestEntityManager(); |
||
| 37 | $this->em->getConfiguration()->setMetadataDriverImpl($metadataDriver); |
||
| 38 | |||
| 39 | $this->obj = $this->em->getRepository(User::class); |
||
| 40 | } |
||
| 41 | |||
| 74 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.