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

Skip to content

Upgrade for 2.8: ContainerAware was deprecated in favour of ContainerAwareTrait #17061

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
merged 1 commit into from
Dec 18, 2015
Merged

Upgrade for 2.8: ContainerAware was deprecated in favour of ContainerAwareTrait #17061

merged 1 commit into from
Dec 18, 2015

Conversation

pamil
Copy link
Contributor

@pamil pamil commented Dec 18, 2015

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

@@ -374,6 +374,9 @@ DependencyInjection
</services>
```

* `Symfony\Component\DependencyInjection\ContainerAware` has been deprecated, use
trait `Symfony\Component\DependencyInjection\ContainerAwareTrait` instead
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say "use the trait or implement the interface manually", otherwise people needing to keep PPH 5.3 support will complain

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@fabpot
Copy link
Member

fabpot commented Dec 18, 2015

Thank you @pamil.

@fabpot fabpot merged commit 825409e into symfony:2.8 Dec 18, 2015
fabpot added a commit that referenced this pull request Dec 18, 2015
… of ContainerAwareTrait (pamil)

This PR was merged into the 2.8 branch.

Discussion
----------

Upgrade for 2.8: ContainerAware was deprecated in favour of ContainerAwareTrait

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

Commits
-------

825409e Upgrade for 2.8: ContainerAware was deprecated in favour of ContainerAwareTrait [ci skip]
@pamil pamil deleted the 2.8-container-aware branch December 18, 2015 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants