Validator calls
In
ValidationListener.php
line ():
No violations
if ($form->isRoot()) {// Form groups are validated internally (FormValidator). Here we don't set groups as they are retrieved into the validator.foreach ($this->validator->validate($form) as $violation) {// Allow the "invalid" constraint to be put onto// non-synchronized forms$allowNonSynchronized = $violation->getConstraint() instanceof Form && Form::NOT_SYNCHRONIZED_ERROR === $violation->getCode();
[ "value" => Symfony\Component\Form\Form {#1402 name: "ocr" type_class: "App\Form\OcrType" data: [ "pdf_file" => Symfony\Component\HttpFoundation\File\UploadedFile {#20 -originalName: "2-an-utilisateurs.pdf" -mimeType: "application/pdf" -error: 0 -originalPath: "2-an-utilisateurs.pdf" -test: false path: "/tmp" filename: "phpgd0028sijj9f4Asw2tr" basename: "phpgd0028sijj9f4Asw2tr" pathname: "/tmp/phpgd0028sijj9f4Asw2tr" extension: "" realPath: "/tmp/phpgd0028sijj9f4Asw2tr" aTime: 2026-01-29 16:40:56 mTime: 2026-01-29 16:40:55 cTime: 2026-01-29 16:40:55 inode: 23888006 size: 86315 perms: 0100600 owner: 1000 group: 1000 type: "file" writable: true readable: true executable: false file: true dir: false link: false } ] } "constraints" => null "groups" => null ]