- Added the
getChildNodeDefinitions()method toParentNodeDefinitionInterface. - The
Processorclass has been made final
- Removed the
setCrossingChar()method in favor of thesetDefaultCrossingChar()method inTableStyle. - Removed the
setHorizontalBorderChar()method in favor of thesetDefaultCrossingChars()method inTableStyle. - Removed the
getHorizontalBorderChar()method in favor of thegetBorderChars()method inTableStyle. - Removed the
setVerticalBorderChar()method in favor of thesetVerticalBorderChars()method inTableStyle. - Removed the
getVerticalBorderChar()method in favor of thegetBorderChars()method inTableStyle.
- Removed the
TypedReference::canBeAutoregistered()andTypedReference::getRequiringClass()methods. - Removed support for auto-discovered extension configuration class which does not implement
ConfigurationInterface.
- The
TraceableEventDispatcherInterfacehas been removed.
-
Removed support for
bundle:controller:actionandservice:actionsyntaxes to reference controllers. UseserviceOrFqcn::methodinstead whereserviceOrFqcnis either the service ID when using controllers as services or the FQCN of the controller.Before:
bundle_controller: path: / defaults: _controller: FrameworkBundle:Redirect:redirect service_controller: path: / defaults: _controller: app.my_controller:myAction
After:
bundle_controller: path: / defaults: _controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction service_controller: path: / defaults: _controller: app.my_controller::myAction
-
Removed
Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser. -
Warming up a router in
RouterCacheWarmerthat does not implement theWarmableInterfaceis not supported anymore. -
The
RequestDataCollectorclass has been removed. Use theSymfony\Component\HttpKernel\DataCollector\RequestDataCollectorclass instead.
- The
$sizeargument of theUploadedFileconstructor has been removed. - The
getClientSize()method of theUploadedFileclass has been removed. - The
getSession()method of theRequestclass throws an exception when session is null.
- The
ContextListener::setLogoutOnUserChange()method has been removed. - The
Symfony\Component\Security\Core\User\AdvancedUserInterfacehas been removed. - The
ExpressionVoter::addExpressionLanguageProvider()method has been removed.
- The
logout_on_user_changefirewall option has been removed. - The
switch_user.statelessfirewall option has been removed. - The
SecurityUserValueResolverclass has been removed.
- The
FileDumper::setBackup()method has been removed. - The
TranslationWriter::disableBackup()method has been removed.
- The default value (
false) of thetwig.strict_variablesconfiguration option has been changed to%kernel.debug%.
- The
Email::__construct()'strict' property has been removed. Use 'mode'=>"strict" instead. - Calling
EmailValidator::__construct()method with a boolean parameter has been removed, useEmailValidator("strict")instead. - Removed the
checkDNSanddnsMessageoptions from theUrlconstraint.
addmethod has been removed useaddWorkflowmethod inWorkflow\Registryinstead.SupportStrategyInterfacehas been removed, useWorkflowSupportStrategyInterfaceinstead.ClassInstanceSupportStrategyhas been removed, useInstanceOfSupportStrategyinstead.