- Issue created by @Charlie ChX Negyesi
ServiceProviderTestServiceProvider::alter has $container->get('module_handler'). If module handler itself or a service it receives is autowired, this fails because AutowireServicePass runs after ModifyServiceDefinitionsPass
Convert module handler to autowire, watch the test fail.
Remove this call and document not to run $container->get from inside ServiceModifierInterface::alter. It is there to modify services, after all.
Active
11.0 π₯
Last updated