Closed evzzz closed 7 months ago
Same here. In every request in my project, in the debug toolbar i see this deprecation: Method "Symfony\Component\Config\Definition\ConfigurationInterface::getConfigTreeBuilder()" might add "TreeBuilder" as a native return type declaration in the future. Do the same in implementation "Aws\Symfony\DependencyInjection\Configuration" now to avoid errors or add an explicit @return annotation to suppress this message.
Related: app.WARNING: Failed to generate ConfigBuilder for extension Aws\Symfony\DependencyInjection\AwsExtension. {"exception":"[object] (LogicException(code: 0): The node was expected to be an ArrayNode. This Configuration includes an edge case not supported yet. at /home/tac/ca/ac/vendor/symfony/config/Builder/ConfigBuilderGenerator.php:108)","extensionClass":"Aws\Symfony\DependencyInjection\AwsExtension"} []
Hi @evzzz, thanks for reporting this. I have added a needs-review label so we can investigate this further.
Thanks!
I see this library has a large range of which version of Symfony it supports, even though most of them are unsupported by Symfony. I wonder if that's why this issue is present? It's also kinda silly to support PHP 5.5 since PHP 8 is the lowest version supported by PHP, everything older than that is end of life. It kinda makes me nervous to use this library.
Symfony 7 will be released in November, at which point these deprecations will become errors.
To chip in with deprecations
Method "Symfony\Component\DependencyInjection\Extension\ExtensionInterface::load()" might add "void" as a native return type declaration in the future. Do the same in implementation "Aws\Symfony\DependencyInjection\AwsExtension" now to avoid errors or add an explicit @return annotation to suppress this message.
@SamRemis what are the plans for pushing these fixes forward and deprecating old versions of php & symfony as discussed in #81 ? Thanks
Should the title be updated to Symfony 7 compatibility?
Hi @janklan, there is a feature request for Symfony 7 support already here. We will look at it soon. Please refer to that feature request for more updates.
Thanks!
Hey @yenfryherrerafeliz,
OK, thanks.
For the record, that PR was opened a few days after I asked the question.
Hi @diegosch21, @tacman, @eman1986, @rhyd42, @boskos-q, and @janklan, we have introduced support for Symfony 7 in the following release.
Please reach out if is there anything else we can help with.
Thanks!
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
Method "Symfony\Component\Config\Definition\ConfigurationInterface::getConfigTreeBuilder()" might add "TreeBuilder" as a native return type declaration in the future. Do the same in implementation "Limenius\ReactBundle\DependencyInjection\Configuration" now to avoid errors or add an explicit @return annotation to suppress this message.
Expected Behavior
Always time
Current Behavior
show deprecation message
Reproduction Steps
upgrade you project for Symfony 5.4 / 6.0
Possible Solution
No response
Additional Information/Context
No response
SDK version used
2.5.0
Environment details (OS name and version, etc.)
MacOS