fix PHP Deprecated
fix PHP Deprecated: Implicit conversion from float to int loses precision adding floor() on lines 201, 210, 219, 224, 232 for compat PHP 8.1
If this project isn't dead, it'd be easier for someone to approve/merge this PR if the diff only contained the actual fixes mentioned ... (and not e.g reindentation, as welcome as it may be!).
@neitanod is there any hope about merging some fixes? Would add maintainers be an options to let the project die? Thanks in advance
@neitanod if it was possible could you update the library with fixes for PHP 8.1 ? thanks
@andreamk I'd suggest moving to https://packagist.org/packages/fylax/forceutf8