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 {#2820 name: "Invoice" type_class: "EasyCorp\Bundle\EasyAdminBundle\Form\Type\CrudFormType" data: App\Entity\Invoice {#1734 -id: 160211 -name: "FVS/108/06/2025" -status: 2 -points: "174" -description: null -promo: null -type: 3 -addExtraPoint: null -platform: 2 -edycja: 8 -emptyinvoice: 0 -reason: null -customReason: null -kind: 1 -documentDate: DateTime @1750802400 {#1729 date: 2025-06-25 00:00:00.0 Europe/Warsaw (+02:00) } -seller: "5911104586" -author: Proxies\__CG__\App\Entity\User {#1867 …} -creator: null -photos: Doctrine\ORM\PersistentCollection {#1829 …} -invoiceProducts: Doctrine\ORM\PersistentCollection {#1798 …} -acceptedAt: DateTime @1753159081 {#3827 date: 2025-07-22 06:38:01.722828 Europe/Warsaw (+02:00) } -acceptedBy: "knauf.profit@mantis.net.pl" -extraPoints: Doctrine\ORM\PersistentCollection {#1796 …} -invoiceLogs: Doctrine\ORM\PersistentCollection {#1756 …} -vip: 0 -previousStatus: 1 -createdAt: DateTime @1753102061 {#1726 date: 2025-07-21 14:47:41.0 Europe/Warsaw (+02:00) } -updatedAt: DateTime @1753159081 {#5580 date: 2025-07-22 06:38:01.789051 Europe/Warsaw (+02:00) } #deletedAt: null } } "constraints" => null "groups" => null ]