Skip to content
This repository was archived by the owner on Jan 6, 2020. It is now read-only.

Don't include ContainerAwareHttpKernel if it's not present#225

Closed
derrabus wants to merge 1 commit intosensiolabs:masterfrom
derrabus:no-container-aware-http-kernel
Closed

Don't include ContainerAwareHttpKernel if it's not present#225
derrabus wants to merge 1 commit intosensiolabs:masterfrom
derrabus:no-container-aware-http-kernel

Conversation

@derrabus
Copy link
Copy Markdown
Contributor

When generating the bootstrap file, the composer script handler also includes Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel, a class that has been removed with PR symfony/symfony#14634 and that will be gone in Symfony 3.0.

This pull request checks if the class is present and includes Symfony\Component\HttpKernel\HttpKernel otherwise. The code should work with Symfony 2.7 as well as with 3.0-dev.

@derrabus derrabus changed the title Don't include ContainerAwareHttpKernel if it's not present. Don't include ContainerAwareHttpKernel if it's not present Sep 15, 2015
@fabpot
Copy link
Copy Markdown
Member

fabpot commented Sep 16, 2015

Thank you @derrabus.

@fabpot fabpot closed this in 0146612 Sep 16, 2015
@derrabus derrabus deleted the no-container-aware-http-kernel branch September 16, 2015 09:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants