Skip to content

Fix various PHP 8.x "Implicit conversion from float ... to int loses precision" PHP Deprecated notices#11640

Open
kkmuffme wants to merge 1 commit intovimeo:6.xfrom
kkmuffme:php-81-float-int-deprecated-warning
Open

Fix various PHP 8.x "Implicit conversion from float ... to int loses precision" PHP Deprecated notices#11640
kkmuffme wants to merge 1 commit intovimeo:6.xfrom
kkmuffme:php-81-float-int-deprecated-warning

Conversation

@kkmuffme
Copy link
Contributor

@kkmuffme kkmuffme commented Jan 7, 2026

Fix various PHP 8.x "Implicit conversion from float ... to int loses precision" PHP Deprecated notices

Perhaps error reporting in CI should include E_DEPRECATED?

No new tests added, since I actually encountered this by running the existing tests for the fixed code - however due to error reporting excluding E_DEPRECATED this was ignored

@kkmuffme kkmuffme changed the title Fix various PHP 8.1 "Implicit conversion from float ... to int loses precision" PHP Deprecated notices Fix various PHP 8.x "Implicit conversion from float ... to int loses precision" PHP Deprecated notices Jan 7, 2026
@kkmuffme kkmuffme force-pushed the php-81-float-int-deprecated-warning branch from 5916c41 to bb44ef1 Compare January 7, 2026 09:49
@kkmuffme
Copy link
Contributor Author

kkmuffme commented Jan 7, 2026

@danog please merge, all failing tests unrelated and from #11569

I didn't update the baseline on purpose due to the psalm/shepherd issues from #11569

@kkmuffme kkmuffme marked this pull request as ready for review January 7, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant