mirror of
https://github.com/moodle/moodle.git
synced 2025-05-05 07:48:21 +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()`.