| Total Complexity | 4 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 13 | trait HasEntityManager |
||
| 14 | { |
||
| 15 | protected ?EntityManager $em = null; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @before |
||
| 19 | */ |
||
| 20 | protected function setupEntityManager(): void |
||
| 37 | ]); |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @after |
||
| 42 | */ |
||
| 43 | protected function teardownEntityManager(): void |
||
| 46 | } |
||
| 47 | |||
| 48 | protected function persistEntities(int $count): void |
||
| 58 |
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.