fix travis error when testing with php 5.4