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 {#2445 name: "purchase_status" type_class: "App\Form\PurchaseStatusType" data: App\Entity\Purchase {#2454 -doublonsTypes: [ 1 => "email" 2 => "nom + prénom" 3 => "nom + cp" 4 => "addresse + cp" 5 => "iban" ] -id: null -createdAt: null -updatedAt: null -desicionWeek: null -purchaseReceipt: null -purchaseReceiptFile: null -greyCard: null -greyCardFile: null -rib: null -ribFile: null -invoiceReceipt: null -invoiceReceiptFile: null -otherDoc: null -otherDocFile: null -purchasedAt: null -productPurchases: Doctrine\Common\Collections\ArrayCollection {#2481 …} -status: 0 -statusMessage: null -actionAt: null -purchaseCode: "RIP25-15-394913-630323" -uuid: Symfony\Component\Uid\UuidV4 {#2470 …} -operation: null -channel: 1 -iban: null -totalAmount: 0 -reward: 0 -rewarded: 0 -additionalDeclineMessage: null -additionalAcceptMessage: null -allDoublonTicketAmountShopPurchaseDate: null -doublonTicketAmountShopPurchaseDate: null -totalQuantity: 0 -decisionWeek: null -comment: null -doublons: Doctrine\Common\Collections\ArrayCollection {#2482 …} -doublonPurchases: Doctrine\Common\Collections\ArrayCollection {#2483 …} -declineSubject: null -doublonFirstNameLastName: null -allDoublonFirstNameLastName: null -doublonLastNameZipCode: null -allDoublonLastNameZipCode: null -doublonAdressIban: null -allDoublonAddressIban: null -doublonPurchaseDateShopTotalPurchaseAmount: null -allDoublonPurchaseDateShopTotalPurchaseAmount: null -personalChequeNumber: null -transfer: null -checkPayment: null -refundedAt: null -location: null -zipcode: null -city: null -shop: null -author: null -optin: null -serialNumber: null -shopName: null -originalId: null -doublonPurchaseDateZipCodeShopTotalPurchaseAmount: null -allDoublonPurchaseDateZipCodeShopTotalPurchaseAmount: null -invoiceInstallation: null -isSent: null -createdBy: null -typeStatus: null -originalBase: null -origin: null -godfather: null -installer: null -installedAt: null -isPrivateUsage: null -emailAuthor: null -authorFirstName: null -authorLastName: null -cityValue: null -shopValue: null -answer1: null -answer2: null -answer3: null -answer4: null -isDeclineFinal: null -answer: null -ribControl: null -ribControlAt: null -greyCardControl: null -greyCardControlAt: null -yesNoAnswerOne: null -yesNoAnswerTwo: null -yesNoAnswerThree: null -yesNoAnswerFour: null -rankingAnswerOne: null -rankingAnswerTwo: null -rankingAnswerThree: null -rankingAnswerFour: null -multipleAnswerOne: null -multipleAnswerTwo: null -multipleAnswerThree: null -multipleAnswerFour: null -shopPostalCode: null -gift: null -giftId: null -question1: null -question2: null -question3: null -dissatisfactionReason: null -instantWin: null -barCode: null -barCodeFile: null -promoCode: null } } "constraints" => null "groups" => null ]