MDL-38025 behat: Compliant with moodlechecker and codechecker