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

getContainerExtension() might add "?ExtensionInterface" as a native return type declaration #118

Closed
wants to merge 1 commit into from

Conversation

mistraloz
Copy link
Collaborator

Avoid this error message

[info] User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "TheCodingMachine\GraphQLite\Bundle\GraphQLiteBundle" now to avoid errors or add an explicit @return annotation to suppress this message.

Valid from PHP 7.1 (this bundle required 7.2 and more).

…eturn type declaration

Avoid this error message
```
[info] User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "TheCodingMachine\GraphQLite\Bundle\GraphQLiteBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
```
Valid from PHP 7.1 (this bundle required 7.2 and more).
@nguyenk
Copy link
Member

nguyenk commented Jun 25, 2023

@mistraloz tests are failing, what should I do with this PR ?

@github-actions github-actions bot added the stale label Dec 23, 2023
@github-actions github-actions bot closed this Dec 28, 2023
@mistraloz mistraloz reopened this Dec 28, 2023
@github-actions github-actions bot removed the stale label Dec 29, 2023
@mistraloz
Copy link
Collaborator Author

Already done by another PR.

@mistraloz mistraloz closed this Dec 29, 2023
@homersimpsons homersimpsons deleted the getContainerExtension-typed branch January 2, 2024 15:42
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

Successfully merging this pull request may close these issues.

2 participants