Format code and delete doctrine xml datas