Merge branch '7.4' into 8.0

* 7.4:
  Fix merge
This commit is contained in:
Nicolas Grekas
2026-03-17 16:33:01 +01:00

View File

@@ -36,10 +36,6 @@ class ValidatorExtension extends AbstractExtension
/** @var ClassMetadata $metadata */
$metadata = $validator->getMetadataFor(\Symfony\Component\Form\Form::class);
$this->validator = $validator;
$this->formRenderer = $formRenderer;
$this->translator = $translator;
// Register the form constraints in the validator programmatically.
// This functionality is required when using the Form component without
// the DIC, where the XML file is loaded automatically. Thus the following