Skip to content

Evolution of "0%" shown since PHP 8.0 #21595

@mneudert

Description

@mneudert

Back when PHP 8.0 was introduced the comparison of strings and numbers changed slightly.

One part hit by this change is the evolution percentage display, for example visible on the Visits Overview (0% example).

Previous to the PHP change, an evolution of "0%" was intentionally hidden, but since then became visible. A neutral evolution is properly styled so it most likely was never caught as a "change" or "error".

Before After

To clean up it should be decided whether the neutral evolution should be visible as of today, or should be hidden as the code once intended.

Metadata

Metadata

Assignees

Labels

Technical debtIssues the will help to reduce technical debtc: Design / UIFor issues that impact Matomo's user interface or the design overall.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions