-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Description
Symfony version(s) affected
6.4.9
Description
This kernel class https://github.com/dustin10/VichUploaderBundle/blob/master/tests/Kernel/SimpleAppKernel.php works in the bundle (e.g. the tests on it pass) until Symfony 6.4.8
Since 6.4.9, the test fails with this error as soon as the test tries to boot the kernel:
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: Service "kernel" not found: the container inside "Symfony\Component\DependencyInjection\Argument\ServiceLocator" is a smaller service locator that is empty...
How to reproduce
Run the VichUploaderBundle tests with Symfony 6.4.9 (I did it by altering the composer.json file), you'll get the error.
Do the same with Symfony 6.4.8, the tests will pass.
It should be the same with Symfony 7, but I didn't try (I'm only sure that it fails with the latest and it didn't fail a few days ago, so I suppose it applies to Symfony 7 too):
Possible Solution
No response
Additional Context
No response