mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
In previous versions of PHPUnit, the `assertEqualsCanonicalizing()` method compared values only, ignoring the keys entirely. Since PHPUnit 10 the method now checks keys where they are non-numeric. To solve this we call `array_values()`.