Skip to content

[Clock] Fix usleep deprecation warning #48538

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 9, 2022
Merged

[Clock] Fix usleep deprecation warning #48538

merged 1 commit into from
Dec 9, 2022

Conversation

victor-prdh
Copy link
Contributor

Q A
Branch? 6.2
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #48537
License MIT
Doc PR /

Hi,
As explained in the issue, i just makes the cast explicit from float to int and avoid deprecation warning

@victor-prdh
Copy link
Contributor Author

I'm a bit surprise with the failed test in 8.1, was good for me with the change... Can i do something about that or is it a github actions issue ?

@OskarStark OskarStark changed the title [Clock] fix usleep deprecation warning [Clock] Fix usleep deprecation warning Dec 9, 2022
@nicolas-grekas
Copy link
Member

Thank you @victor-prdh.

@nicolas-grekas nicolas-grekas merged commit 2ecb381 into symfony:6.2 Dec 9, 2022
@victor-prdh victor-prdh deleted the fix/clock branch December 10, 2022 08:54
@fabpot fabpot mentioned this pull request Dec 16, 2022
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.

3 participants