- Implementing
ParentNodeDefinitionInterface
without thegetChildNodeDefinitions()
method is deprecated and will be unsupported in 5.0.
- The
TraceableEventDispatcherInterface
has been deprecated and will be removed in 5.0.
- A
RouterInterface
that does not implement theWarmableInterface
is deprecated and will not be supported in Symfony 5.0.
-
Passing the file size to the constructor of the
UploadedFile
class is deprecated and won't be supported anymore in 5.0. -
The
getClientSize()
method of theUploadedFile
class is deprecated. UsegetSize()
instead.
- The
ContextListener::setLogoutOnUserChange()
method is deprecated and will be removed in 5.0.
- The
logout_on_user_change
firewall option is deprecated and will be removed in 5.0. - The
SecurityUserValueResolver
class is deprecated and will be removed in 5.0, useSymfony\Component\Security\Http\Controller\UserValueResolver
instead.
- The
FileDumper::setBackup()
method is deprecated and will be removed in 5.0. - The
TranslationWriter::disableBackup()
method is deprecated and will be removed in 5.0.
- The
Email::__construct()
'strict' property is deprecated and will be removed in 5.0. Use 'mode'=>"strict" instead. - Calling
EmailValidator::__construct()
method with a boolean parameter is deprecated and will be removed in 5.0, useEmailValidator("strict")
instead. - Deprecated the
checkDNS
anddnsMessage
options of theUrl
constraint. They will be removed in 5.0.
- Deprecated the
add
method in favor of theaddWorkflow
method inWorkflow\Registry
. - Deprecated
SupportStrategyInterface
in favor ofWorkflowSupportStrategyInterface
. - Deprecated the class
ClassInstanceSupportStrategy
in favor of the classInstanceOfSupportStrategy
.