-
Notifications
You must be signed in to change notification settings - Fork 98
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
Bigint are casted to int (if possible) for DBAL 4 #484
Comments
Relevant discussion: doctrine/dbal#6177 (comment) |
If I understand correctly the discussion, the bigint is
|
Implemented: 719a8f4 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
With doctrine/dbal#6177, the bigint will now be casted to
int
by doctrine.So I assume the BigIntType will need to be updated for Doctrine 4.
I assume
phpstan-doctrine/src/Type/Doctrine/Descriptors/BigIntType.php
Line 21 in 39d78ad
need to be changed at least from numeric-string to numeric "if DBAL version is 4".
Or should it be
BenevolentUnion(int, numeric)
because most of users use them for small enough values (?).The text was updated successfully, but these errors were encountered: