-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[DI] Remove remaining deprecated features #23484
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
Conversation
eee1a1d
to
8b33d15
Compare
*/ | ||
public function process(ContainerBuilder $container) | ||
{ | ||
$resolveClassPassChanges = null !== $this->resolveClassPass ? $this->resolveClassPass->getChanges() : array(); |
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.
do we still need the ResolveClassPass::getChanges()
method (which requires making the compiler pass stateful) ?
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.
good catch, fixed
8b33d15
to
4bd7b92
Compare
Thank you @nicolas-grekas. |
…kas) This PR was merged into the 4.0-dev branch. Discussion ---------- [DI] Remove remaining deprecated features | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | yes | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - * removed autowiring services based on the types they implement * removed the `DefinitionDecorator` class, replaced by `ChildDefinition` * removed the `AutowireServiceResource` class and related `AutowirePass::createResourceForClass()` method * removed `LoggingFormatter`, `Compiler::getLoggingFormatter()` and `addLogMessage()` class and methods, use the `ContainerBuilder::log()` method instead * removed `FactoryReturnTypePass` * removed `ContainerBuilder::addClassResource()`, use the `addObjectResource()` or the `getReflectionClass()` method instead. * removed support for top-level anonymous services * removed silent behavior for unused attributes and elements * Removed the "framework.validation.cache" configuration option. Configure the "cache.validator" service under "framework.cache.pools" instead. Commits ------- 4bd7b92 [DI] Remove remaining deprecated features
DefinitionDecorator
class, replaced byChildDefinition
AutowireServiceResource
class and relatedAutowirePass::createResourceForClass()
methodLoggingFormatter
,Compiler::getLoggingFormatter()
andaddLogMessage()
class and methods, use theContainerBuilder::log()
method insteadFactoryReturnTypePass
ContainerBuilder::addClassResource()
, use theaddObjectResource()
or thegetReflectionClass()
method instead.