@AltamashShaikh opened this Issue on October 11th 2021 Contributor

When trying to fetch API.getGlossaryMetrics the order of response changes if php version >= 8 , due to which testcases starts failing
Eg: https://3v4l.org/aK3vq

Expected Behavior

The sort order should be consistent across php versions

Current Behavior

Sort order differs for php versions

Possible Solution

A possible fix is to not return '0' if values are same.
Fixed Eg: https://3v4l.org/3cF8h

Steps to Reproduce (for Bugs)



Funnels Plugin test cases are breaking when running for php version >= 8

Your Environment

  • Matomo Version:
  • PHP Version:
  • Server Operating System:
  • Additionally installed plugins:
  • Browser:
  • Operating System:
This Issue was closed on October 13th 2021
Powered by GitHub Issue Mirror