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 in Doctrine2 Dbal Types #50

Closed
gonzaloplaza opened this issue May 16, 2019 · 2 comments
Closed

Deprecation warning in Doctrine2 Dbal Types #50

gonzaloplaza opened this issue May 16, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@gonzaloplaza
Copy link

gonzaloplaza commented May 16, 2019

After latest Doctrine2 update, we're getting this deprecation warnings.

Deprecated: The type "oauth2_redirect_uri" was implicitly marked as commented due to the configuration. This is deprecated and will be removed in DoctrineBundle 2.0. Either set the "commented" attribute in the configuration to "false" or mark the type as commented in "Trikoder\Bundle\OAuth2Bundle\DBAL\Type\RedirectUri::requiresSQLCommentHint()."

Deprecated: The type "oauth2_scope" was implicitly marked as commented due to the configuration. This is deprecated and will be removed in DoctrineBundle 2.0. Either set the "commented" attribute in the configuration to "false" or mark the type as commented in "Trikoder\Bundle\OAuth2Bundle\DBAL\Type\Scope::requiresSQLCommentHint()

Edit: Looks like it's happening with all bundle entities

@X-Coder264
Copy link
Collaborator

This deprecation came with DoctrineBundle 1.11 which was released 9 days ago (doctrine/DoctrineBundle#947).

A PR fixing this deprecation would be greatly appreciated. I'll try making one before the end of the month if someone doesn't create one sooner.

@spideyfusion
Copy link
Contributor

We are going to address this fairly soon in #60.

@spideyfusion spideyfusion added the bug Something isn't working label Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants