MDL-42931 set new requirements for 2.7
MDL-42931 fix hardcoded PHP version tests for 2.7