Exercise / HTMLPurifierBundle

HTML Purifier is a standards-compliant HTML filter library written in PHP.
http://htmlpurifier.org/
Other
275 stars 56 forks source link

FormType: Deprecation with Symfony 4.2 #63

Closed althaus closed 5 years ago

althaus commented 5 years ago

Hi,

starting with Symfony 4.2 all FormTypes need to implement the getExtendedTypes method:

https://symfony.com/blog/new-in-symfony-4-2-improved-form-type-extensions

Not implementing the static getExtendedTypes() method in Exercise\HTMLPurifierBundle\Form\TypeExtension\HTMLPurifierTextTypeExtension when implementing the Symfony\Component\Form\FormTypeExtensionInterface is deprecated since Symfony 4.2. The method will be added to the interface in 5.0.

Cheers Matthias

althaus commented 5 years ago

Darn... this is obviously content of the PR #61. As this is not merged keeping this issue open may help others.

stof commented 5 years ago

should be closed as the PR is merged now.