fixed doctrine to suppress warning with php 5.4+