- Deprecate
PhpDumper
optionsinline_factories_parameter
andinline_class_loader_parameter
, useinline_factories
andinline_class_loader
instead - Deprecate undefined and numeric keys with
service_locator
config, use string aliases instead
-
Deprecate
framework:exceptions
tag, unwrap it and replaceframework:exception
tags'name
attribute byclass
Before:
<!-- config/packages/framework.xml --> <framework:config> <framework:exceptions> <framework:exception name="Symfony\Component\HttpKernel\Exception\BadRequestHttpException" log-level="info" status-code="422" /> </framework:exceptions> </framework:config>
After:
<!-- config/packages/framework.xml --> <framework:config> <framework:exception class="Symfony\Component\HttpKernel\Exception\BadRequestHttpException" log-level="info" status-code="422" /> </framework:config>
- Deprecate the
notifier.logger_notification_listener
service, use thenotifier.notification_logger_listener
service instead
- Deprecate parameters
container.dumper.inline_factories
andcontainer.dumper.inline_class_loader
, use.container.dumper.inline_factories
and.container.dumper.inline_class_loader
instead
- Deprecate
Symfony\Component\Messenger\Transport\InMemoryTransport
andSymfony\Component\Messenger\Transport\InMemoryTransportFactory
in favor ofSymfony\Component\Messenger\Transport\InMemory\InMemoryTransport
andSymfony\Component\Messenger\Transport\InMemory\InMemoryTransportFactory
- Deprecate enabling bundle and not configuring it
- Deprecate the
security.firewalls.logout.csrf_token_generator
config option, usesecurity.firewalls.logout.csrf_token_manager
instead
- Implementing the
ConstraintViolationInterface
without implementing thegetConstraint()
method is deprecated