Find the best Rector rule to solve your problem. Searching through 1036 rules.

Found 1 rule. That's the one:

ContainerInterfaceServiceToServiceContainerRector

Replace removed ContainerInterface alias with "service_container" service id in service() call