Skip to content
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

DuplicateArrayKeyPlugin.php:162 Implicit conversion from float 0.91 to int loses precision in php 8.1 in switch statement #4666

Closed
TysonAndre opened this issue Feb 21, 2022 · 0 comments · Fixed by #4667
Assignees
Labels
bug A crash in Phan, a recent change causing incorrect analysis results, etc.

Comments

@TysonAndre
Copy link
Member

Make this an explicit conversion instead

@TysonAndre TysonAndre added the bug A crash in Phan, a recent change causing incorrect analysis results, etc. label Feb 21, 2022
@TysonAndre TysonAndre self-assigned this Feb 21, 2022
@TysonAndre TysonAndre changed the title DuplicateArrayKeyPlugin.php:162 Implicit conversion from float 0.91 to int loses precision in php 8.1 DuplicateArrayKeyPlugin.php:162 Implicit conversion from float 0.91 to int loses precision in php 8.1 in switch statement Feb 21, 2022
TysonAndre added a commit to TysonAndre/phan that referenced this issue Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A crash in Phan, a recent change causing incorrect analysis results, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant