- Fix: The EntityManager should not be flushed within a loop
- Fix: PSR-1