SymfonyTest/symfony-bundle-test

The 1.8.1 releases triggers a deprecation when ensureKernelShutdown is called with a non-booted kernel

stof opened this issue · 3 comments

stof commented

If a kernel has been created but not booted, BaseBundleTestCase::ensureKernelShutdown triggers a deprecation warning when accessing getContainer. Ideally, it should skip the whole logic as the kernel is not booted.

This is especially an issue given that BaseBundleTestCase::bootKernel() starts by calling ensureKernelShutdown

Fixed by #64.

Is the 1.x branch ready for a release?

@Nyholm Nothing to add from my side, both issues are fixed. 👍🏼

Thank you @stof

We just release 2.0, this should all be fixed there.