symfony 1.4 deprecated issue fix