[php] adds fixes for all form validators