Closed nztim closed 7 years ago
+1 Been using this as a patch with cweagans/composer-patches in my edited composer.json for piwik & been working fine for a couple weeks.
@tsteur @mattab do we still maintain the list of changes in https://github.com/piwik/component-decompress/blob/master/libs/README.md? Or is it already outdated since the updates for PHP 7?
@sgiehl we should still maintain those changes if they haven't been fixed upstream. Unless they are not needed anymore for some other reason, but it'd be hard to know which changes are not needed anymore...
I've added a comment to that file, does it look right?
Thanks @nztim - @sgiehl looks good to merge. Are you able to merge & publish new release & use it in piwik core?
I received the following warning the last two times I updated Piwik (PHP 7.1):
This fix is intended to resolve the problem by converting to integer before the multiplication operation. The existing tests trigger the warning and now pass with this change on PHP 7.1.