Git commits in Moodle 3.9.x by Safat

commit b0389d27856cfde40d68813638bef12170d4f1db
Author: Safat <safat.shahin@moodle.com>
Date:   Wed, 10 May 2023 11:50:25 +0800
Tag:    v3.9.22

MDL-76406 core: Add environment check for versions not supporting 8.2