switch all the project as in symfony for preparation for hack, into bool and int