Another hint: The problem seems to appear only together with PHPUnit. When running the same code parts from regular Symfony commands, the error does not occur.
Another hint: The problem seems to appear only together with PHPUnit.
When running the same code parts from regular Symfony commands, the error does not occur.