mirror of
https://github.com/moodle/moodle.git
synced 2025-03-26 02:22:51 +01:00
Calls to `str_ends_with` are polyfilled currently, as the method is not present in PHP7.4 or earlier. We should avoid uses of it so as to not trip up compatibility standard checkers.