Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[HttpKernel] trigger a deprecation warning when using the ContainerAwareHttpKernel #14665

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented May 17, 2015

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #13280
License MIT
Doc PR

I agree that we should not trigger the deprecation warning when the ContainerAwareHttpKernel is used in the framework code. However, developers using this class in their own code should receive a warning to be able to prepare their applications for Symfony 3.0.

@fabpot
Copy link
Member

fabpot commented May 20, 2015

Thank you @xabbuh.

@fabpot fabpot merged commit 030731a into symfony:2.7 May 20, 2015
fabpot added a commit that referenced this pull request May 20, 2015
…e ContainerAwareHttpKernel (xabbuh)

This PR was merged into the 2.7 branch.

Discussion
----------

[HttpKernel] trigger a deprecation warning when using the ContainerAwareHttpKernel

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #13280
| License       | MIT
| Doc PR        |

I agree that we should not trigger the deprecation warning when the `ContainerAwareHttpKernel` is used in the framework code. However, developers using this class in their own code should receive a warning to be able to prepare their applications for Symfony 3.0.

Commits
-------

030731a [HttpKernel] trigger a deprecation warning when using the ContainerAwareHttpKernel
@xabbuh xabbuh deleted the container-aware-kernel-deprecateion-trigger branch May 20, 2015 09:18
Tobion added a commit that referenced this pull request Dec 13, 2015
…eprecation flag (ogizanagi)

This PR was merged into the 3.0 branch.

Discussion
----------

[FrameworkBundle][HttpKernel] Remove remaining $triggerDeprecation flag

| Q             | A
| ------------- | ---
| Fixed tickets | n/a
| License       | MIT

Introduced in #14665, this flag controlled the deprecation notice triggering when using the `ContainerAwareHttpKernel`, in order to avoid triggering it when using this class in the Symfony framework. This class no longer exists now, neither the flag.

Commits
-------

ac15454 [FrameworkBundle][HttpKernel] Remove remaining $triggerDeprecation flag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants