Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning after updating Symfony from version 6.2 to 6.3 #2393

Closed
Heaven31415 opened this issue Aug 14, 2023 · 2 comments
Closed

Comments

@Heaven31415
Copy link

Hi.

Whenever I run any console command in my Symfony project, I receive the following deprecation warning:

[info] User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::build()" might add "void" as a native return type declaration in the future. Do the same in child class "FOS\RestBundle\FOSRestBundle" now to avoid errors or add an explicit @return annotation to suppress this message.

This started after I updated my Symfony version from 6.2 to 6.3. On 6.2 I didn't see anything similar to that. I'm using FOSRestBundle version 3.5.0.

This problem was briefly mentioned here: #2389, however I believe it wasn't properly reported, that's why I decided to create another ticket.

@raziel057
Copy link

@Heaven31415 It's already covered by the PR that is not yet merged: #2392

See the folowing commit: a4ad08b#diff-dbf75c5359a6a60cd85402ff7bab7f9d7c5ec9a0794c461ccd90b285b9f033e1

@deluxetom
Copy link
Contributor

@goetas this issue can be closed

@goetas goetas closed this as completed Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants