Skip to content

Fix deprecation#69

Open
John Mortlock (jmortlock) wants to merge 1 commit into
contentful:masterfrom
jmortlock:fix-deprecation-warning
Open

Fix deprecation#69
John Mortlock (jmortlock) wants to merge 1 commit into
contentful:masterfrom
jmortlock:fix-deprecation-warning

Conversation

@jmortlock
Copy link
Copy Markdown

WHY

Resolves the following warning when used with Symfony 7:

[2024-11-03T04:46:18.378993+00:00] deprecation.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 "Contentful\ContentfulBundle\ContentfulBundle" now to avoid 
errors or add an explicit @return annotation to suppress this message. {"exception":"[object] (ErrorException(code: 0): 
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 \"Contentful\\ContentfulBundle\\ContentfulBundle\" now to avoid 
errors or add an explicit @return annotation to suppress this message. 
at /var/www/html/member-portal/vendor/symfony/error-handler/DebugClassLoader.php:341)"}

@jmortlock John Mortlock (jmortlock) requested a review from a team as a code owner November 3, 2024 04:51
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.

1 participant