updated for phpspec, and remove php5.3