add php version compare as traits can’t be tested in php53