The max_length option is has been deprecated in Symfony 2.5 and will be removed in 3.0. Instead [...]