mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #8836] Make implicit type casts explicit #11200
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/8836
State: closed
Merged: Yes
Before we discuss what target branch the
strict_typesPR should use, here is a PR that makes 2.10.x compatible with strict types.Everything was pretty straightforward except the sequence generator which is full of casts from int to string and vice versa. After reading https://github.com/doctrine/orm/pull/6683 , it seems to me that we want to be compatible with sequences greater than PHP_INT_MAX, but I doubt we are in practice.
Note how this reduces the baseline.