The `Form::getErrors()` method got two new parameters, `$deep` and `$flatten` (see symfony/symfony#9918).