- Deprecated
Definition::setPrivate()
andAlias::setPrivate()
, usesetPublic()
instead
- Deprecated
Address::fromString()
, useAddress::create()
instead
- Deprecated the public
twig
service to private.
-
Deprecated the
allowEmptyString
option of theLength
constraint.Before:
use Symfony\Component\Validator\Constraints as Assert; /** * @Assert\Length(min=5, allowEmptyString=true) */
After:
use Symfony\Component\Validator\Constraints as Assert; /** * @Assert\AtLeastOneOf({ * @Assert\Blank(), * @Assert\Length(min=5) * }) */