Bug Report
Summary
Testing with symfony 8. MigrationsCollector is incompatible with Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface . The interface defines return types with php return type not just doc block.
Current behavior
DI compilation won't pass.
Expected behavior
Add types to pass DI compilation
How to reproduce
Test with latest symfony 8.