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 notice after updating from Symfony 5.3 to 5.4 #171

Closed
tarlepp opened this issue Nov 30, 2021 · 2 comments · Fixed by #178
Closed

Deprecation notice after updating from Symfony 5.3 to 5.4 #171

tarlepp opened this issue Nov 30, 2021 · 2 comments · Fixed by #178
Labels

Comments

@tarlepp
Copy link

tarlepp commented Nov 30, 2021

Description

I notice indirect deprecation notice after I updated from Symfony 5.3 to 5.4

Method "Doctrine\DBAL\Types\Type::convertToPHPValue()" might add "mixed" as a native return type declaration in the future. Do the same in child class "Ramsey\Uuid\Doctrine\UuidBinaryOrderedTimeType" now to avoid errors or add an explicit @return annotation to suppress this message.

Steps to reproduce

  1. Create new Symfony project that is using version 5.4
  2. Add this library as a dependency
  3. Create an entity that creates UUID V1 on entity construct

Expected behavior

No deprecations notices.

Environment details

  • version of this package: 1.8.0
  • PHP version: 8.0.13
  • OS: docker linux from php:8.0.13-fpm
@tarlepp tarlepp added the bug label Nov 30, 2021
@Evgeny1973
Copy link

Have same message
Method "Doctrine\DBAL\Types\Type::getSQLDeclaration()" might add "string" as a native return type declaration in the future. Do the same in child class "Ramsey\Uuid\Doctrine\UuidBinaryType" now to avoid errors or add an explicit @return annotation to suppress this message.

@ruudk
Copy link
Contributor

ruudk commented Dec 8, 2021

PR to fix the issue #173

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants