Update `Kernel` with non-deprecated latest from Symfony v5.2
Update `Kernel` with non-deprecated latest from Symfony v5.2

As per https://github.com/symfony/demo/issues/1117#issuecomment-642562249
Fixes new deprecations added in v5.1

outlandishideas/wpackagist,outlandishideas/wpackagist,outlandishideas/wpackagist