-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[DependencyInjection] remove deprecated autowiring_types feature #22773
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
[DependencyInjection] remove deprecated autowiring_types feature #22773
Conversation
hhamon
commented
May 19, 2017
Q | A |
---|---|
Branch? | master |
Bug fix? | no |
New feature? | no |
BC breaks? | yes |
Deprecations? | no |
Tests pass? | no |
Fixed tickets | ~ |
License | MIT |
Doc PR | ~ |
aa936fa
to
6a6404f
Compare
Forward compatibility needed in FrameworkBundle in version 3.4 (see #22774). |
missing CHANGELOG updates in components (please check any your other PRs also if any) |
rebase needed |
6a6404f
to
6a6db91
Compare
@nicolas-grekas rebased! Still need to update the |
@@ -370,12 +370,6 @@ private function populateAvailableType($id, Definition $definition) | |||
return; | |||
} | |||
|
|||
foreach ($definition->getAutowiringTypes(false) as $type) { | |||
$this->definedTypes[$type] = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this property is not used anymore, it should be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure? It seems the property remains used several times in this class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's read, but never written to, so yes, I'm sure :)
|
6a89a3f
to
e2c1d12
Compare
e2c1d12
to
6fdcb84
Compare
I think it's good to go now. The remaining files below only deal with the
Maybe they should be renamed at some point. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Thank you @hhamon. |
…es feature (hhamon) This PR was merged into the 4.0-dev branch. Discussion ---------- [DependencyInjection] remove deprecated autowiring_types feature | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | yes | Deprecations? | no | Tests pass? | no | Fixed tickets | ~ | License | MIT | Doc PR | ~ Commits ------- 6fdcb84 [DependencyInjection] remove deprecated autowiring_types feature