helios-ag / FMElfinderBundle

:file_folder: ElFinderBundle provides ElFinder integration with TinyMCE, CKEditor, Summernote editors
MIT License
275 stars 128 forks source link

Deprecation in Symfony 5.4: "...ConfigurationInterface::getConfigTreeBuilder()" might add "TreeBuilder" as a native return type declaration #461

Closed DavidGodefroid closed 2 years ago

DavidGodefroid commented 2 years ago

In FM\ElfinderBundle\DependencyInjection\Configuration

Method "Symfony\Component\Config\Definition\ConfigurationInterface::getConfigTreeBuilder()" might add "TreeBuilder" as a native return type declaration in the future. Do the same in implementation "FM\ElfinderBundle\DependencyInjection\Configuration" now to avoid errors or add an explicit @return annotation to suppress this message.

helios-ag commented 2 years ago

https://github.com/helios-ag/FMElfinderBundle/blob/main/src/DependencyInjection/Configuration.php#L14 Resolved, should be fine now. Thanks for raising issue.