Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[HttpClient] Fix int conversion forGenericRetryStrategy with floated multiplier#50698

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@francisbesset
Copy link
Contributor

QA
Branch?5.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets
LicenseMIT
Doc PR

When we use floated multiplier, we have a deprecated message from php 8.1:

Deprecated: Implicit conversion from float -288.99999999999994 to int loses precisionDeprecated: Implicit conversion from float 288.99999999999994 to int loses precision

This PR add a int conversion before userandom_int() function.

@carsonbotcarsonbot added this to the5.4 milestoneJun 18, 2023
@OskarStarkOskarStark changed the title[HttpClient] Fix int conversion for GenericRetryStrategy with floated multiplier[HttpClient] Fix int conversion forGenericRetryStrategy with floated multiplierJun 19, 2023
@fabpot
Copy link
Member

Thank you@francisbesset.

francisbesset and lyrixx reacted with heart emoji

@fabpotfabpot merged commitd979cfe intosymfony:5.4Jun 20, 2023
This was referencedJun 26, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@xabbuhxabbuhxabbuh approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

4 participants

@francisbesset@fabpot@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp