Bunch of FormTypes extending some basic Symfony PHP framework FormTypes. ExtensibleTypes makes it possible to allow extra choices by Symfony ChoiceTypes (ChoiceType, EntityType and DocumentType). This can help to make it work with the Select2 jQuery pluggin.
I'm using Symfony 6.3 and it seems to have triggered quite a few deprecation notices on this lib:
1x: Method "Symfony\Component\DependencyInjection\Extension\ExtensionInterface::load()" might add "void" as a native return type declaration in the future. Do the same in implementation "Alsatian\FormBundle\DependencyInjection\AlsatianFormExtension" now to avoid errors or add an explicit @return annotation to suppress this message.
1x in XXXX:xx from XXX\YYY\Zzz
1x: Method "Symfony\Component\Form\AbstractTypeExtension::buildForm()" might add "void" as a native return type declaration in the future. Do the same in child class "Alsatian\FormBundle\Form\Extensions\ExtensibleExtension" now to avoid errors or add an explicit @return annotation to suppress this message.
1x in XXXX:xx from XXX\YYY\Zzz
1x: Method "Symfony\Component\Form\AbstractType::configureOptions()" might add "void" as a native return type declaration in the future. Do the same in child class "Alsatian\FormBundle\Form\AbstractRoutableType" now to avoid errors or add an explicit @return annotation to suppress this message.
1x in XXXX:xx from XXX\YYY\Zzz
1x: Method "Symfony\Component\Form\AbstractType::configureOptions()" might add "void" as a native return type declaration in the future. Do the same in child class "Alsatian\FormBundle\Form\AbstractExtensibleChoicesType" now to avoid errors or add an explicit @return annotation to suppress this message.
1x in XXXX:xx from XXX\YYY\Zzz
1x: Method "Symfony\Component\Form\AbstractType::configureOptions()" might add "void" as a native return type declaration in the future. Do the same in child class "Alsatian\FormBundle\Form\DatePickerType" now to avoid errors or add an explicit @return annotation to suppress this message.
1x in XXXX:xx from XXX\YYY\Zzz
1x: Method "Symfony\Component\Form\AbstractType::configureOptions()" might add "void" as a native return type declaration in the future. Do the same in child class "Alsatian\FormBundle\Form\DateTimePickerType" now to avoid errors or add an explicit @return annotation to suppress this message.
1x in XXXX:xx from XXX\YYY\Zz
I'm using Symfony 6.3 and it seems to have triggered quite a few deprecation notices on this lib:
I think it could be as easy as adding
void
as the return type ofload()
in here? https://github.com/Alsatian67/FormBundle/blob/master/DependencyInjection/AlsatianFormExtension.php#L13