diff --git a/src/Form/BookingEditParticipantType.php b/src/Form/BookingEditParticipantType.php index 2e2d890..9076ce5 100644 --- a/src/Form/BookingEditParticipantType.php +++ b/src/Form/BookingEditParticipantType.php @@ -42,14 +42,14 @@ class BookingEditParticipantType extends AbstractType 'attr' => [ 'readonly' => false === $personalDataMutable, ], - 'anti_xss' => true, + 'clean_xss' => true, ]) ->add('lastName', TextType::class, [ 'label' => 'Nachname', 'attr' => [ 'readonly' => false === $personalDataMutable, ], - 'anti_xss' => true, + 'clean_xss' => true, ]) ->add('dateOfBirth', BirthdayType::class, [ 'label' => 'Geburtsdatum', @@ -89,7 +89,7 @@ class BookingEditParticipantType extends AbstractType 'attr' => [ 'readonly' => true === $isApplicant, ], - 'anti_xss' => true, + 'clean_xss' => true, ]) ->add('mobile', TextType::class, [ 'label' => 'Telefon (mobil)', @@ -97,7 +97,7 @@ class BookingEditParticipantType extends AbstractType 'attr' => [ 'readonly' => true === $isApplicant, ], - 'anti_xss' => true, + 'clean_xss' => true, ]) ->add('height', ChoiceType::class, [ 'label' => 'Körpergröße', diff --git a/src/Form/PersonalDataType.php b/src/Form/PersonalDataType.php index 92f0797..21e6df0 100644 --- a/src/Form/PersonalDataType.php +++ b/src/Form/PersonalDataType.php @@ -16,17 +16,17 @@ class PersonalDataType extends AbstractType ->add('street', TextType::class, [ 'label' => 'Straße', 'property_path' => 'address.street', - 'anti_xss' => true, + 'clean_xss' => true, ]) ->add('postCode', TextType::class, [ 'label' => 'PLZ', 'property_path' => 'address.postCode', - 'anti_xss' => true, + 'clean_xss' => true, ]) ->add('city', TextType::class, [ 'label' => 'Stadt', 'property_path' => 'address.city', - 'anti_xss' => true, + 'clean_xss' => true, ]) ->add('country', CountryType::class, [ 'label' => 'Land', @@ -35,18 +35,18 @@ class PersonalDataType extends AbstractType ->add('email', EmailType::class, [ 'label' => 'E-Mail', 'property_path' => 'communication.email', - 'anti_xss' => true, + 'clean_xss' => true, ]) ->add('phone', TextType::class, [ 'label' => 'Telefon', 'required' => false, 'property_path' => 'communication.phone', - 'anti_xss' => true, + 'clean_xss' => true, ]) ->add('mobile', TextType::class, [ 'label' => 'Mobil', 'property_path' => 'communication.mobile', - 'anti_xss' => true, + 'clean_xss' => true, ]) ; } diff --git a/src/Form/RegistrationType.php b/src/Form/RegistrationType.php index 85256f8..c67e204 100644 --- a/src/Form/RegistrationType.php +++ b/src/Form/RegistrationType.php @@ -25,14 +25,14 @@ class RegistrationType extends AbstractType ]) ->add('firstName', TextType::class, [ 'label' => 'Name', - 'anti_xss' => true, + 'clean_xss' => true, ]) ->add('name', TextType::class, [ 'label' => 'Nachname', ]) ->add('email', EmailType::class, [ 'label' => 'E-Mail', - 'anti_xss' => true, + 'clean_xss' => true, ]) ; }