fix travis tests for php 5.3