Closed jakubvojacek closed 1 year ago
not sure about the phpstan failures in tests @staabm, i guess they're related to php version? I dont think I was doing changes in this part of code. I only changed like 10 lines in MysqlMapper
I agree with this change, because MySQL explicitly states:
The display width does not constrain the range of values that can be stored in the column. Nor does it prevent values wider than the column display width from being displayed correctly.
(source: https://dev.mysql.com/doc/refman/8.0/en/numeric-type-attributes.html)
not sure about the phpstan failures in tests
I think this error was ignored before here
please adjust the ignore rule
finally green :)
as discussed here https://github.com/staabm/phpstan-dba/pull/582#issuecomment-1475752161, the mapping from mysql native type to phpstan type was not working properly.
This PR attempts to fix that