MIR1502
ImplicitFloatToIntCast
A float is implicitly cast to an int, potentially losing precision.
Example
Section titled “Example”<?php// TODO: minimal example that triggers ImplicitFloatToIntCast.How to fix
Section titled “How to fix”TODO: explain the typical fix or how to suppress.