- Deprecate requiring the "symfony/symfony" package; replace it with standalone components instead
- Public and protected properties are now considered final; instead of overriding a property, consider setting its value in the constructor
- Deprecate
Command::$defaultName
andCommand::$defaultDescription
, use theAsCommand
attribute instead - Add argument
$suggestedValues
toCommand::addArgument
andCommand::addOption
- Add argument
$suggestedValues
toInputArgument
andInputOption
constructors
- Deprecate
ReferenceSetArgumentTrait
- Deprecate the
reset_on_message
config option. It can be set totrue
only and does nothing now. To prevent services resetting after each message the "--no-reset" option in "messenger:consume" command can be set - Deprecate not setting the
http_method_override
config option. The default value will change tofalse
in 7.0.
- Deprecate StreamedResponseListener, it's not needed anymore
- Add argument
$routeParameters
toUrlMatcher::handleRouteRequirements()
- Deprecate
ContextAwareNormalizerInterface
, useNormalizerInterface
instead - Deprecate
ContextAwareDenormalizerInterface
, useDenormalizerInterface
instead - Deprecate
ContextAwareEncoderInterface
, useEncoderInterface
instead - Deprecate
ContextAwareDecoderInterface
, useDecoderInterface
instead - Deprecate supporting denormalization for
AbstractUid
inUidNormalizer
, use one ofAbstractUid
child class instead - Deprecate denormalizing to an abstract class in
UidNormalizer
- Deprecate
Constraint::$errorNames
, useConstraint::ERROR_NAMES
instead - Deprecate constraint
ExpressionLanguageSyntax
, useExpressionSyntax
instead - Implementing the
ConstraintViolationInterface
orConstraintViolationListInterface
without implementing the__toString()
method is deprecated