Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug symfony#54776 [Cache] fix: remove unwanted cast to int (Arend Hum…
…meling) This PR was merged into the 5.4 branch. Discussion ---------- [Cache] fix: remove unwanted cast to int | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? |no | Issues | Fix symfony#54773 | License | MIT As discussed in the related issue, this type cast is unnecessary and can lead to unexpected behavior due to integer overflow. I took a quick look if a testcase could be implemented, but this is not so trivial, as we'd either have to somehow configure a redis server to end up with a state that results in very high scan cursor values, or we'd have to implement a mock for the redis implementation, so we can provide all the edge case values for our tests. Commits ------- 3d174a9 fix: remove unwanted type cast
- Loading branch information