Skip to content

Conversation

@derrabus
Copy link
Member

@derrabus derrabus commented Jun 5, 2021

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Part of #41552
License MIT
Doc PR N/A

PHP 8.1 is picky about implicit float-to-int casts if we lose precision because of that cast. This PR should fix all cases that bubbled up in our test suite.

@derrabus derrabus force-pushed the bugfix/float-to-int branch from f121acd to 54ac846 Compare June 6, 2021 08:53
@derrabus derrabus force-pushed the bugfix/float-to-int branch from 54ac846 to fc74476 Compare June 6, 2021 09:12
@nicolas-grekas
Copy link
Member

Thank you @derrabus.

@nicolas-grekas nicolas-grekas merged commit 5854a82 into symfony:4.4 Jun 6, 2021
@derrabus derrabus deleted the bugfix/float-to-int branch June 6, 2021 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants