Validator calls
In
OrderItemType.php
line ():
No violations
[ "value" => 24835 "constraints" => [ Symfony\Component\Validator\Constraints\GreaterThanOrEqual {#22737 +payload: null +groups: [ "Default" ] +message: "This value should be greater than or equal to {{ compared_value }}." +value: 0 +propertyPath: null } ] "groups" => null ]
In
OrderItemType.php
line ():
No violations
// 送料, 手数料: 金額 -> 正, 個数 -> 正case OrderItemTypeMaster::DELIVERY_FEE:case OrderItemTypeMaster::CHARGE:$errors = $this->validator->validate($OrderItem->getPrice(), [new Assert\GreaterThanOrEqual(0)]);$this->addErrorsIfExists($form['price'], $errors);$errors = $this->validator->validate($OrderItem->getQuantity(), [new Assert\GreaterThanOrEqual(0)]);$this->addErrorsIfExists($form['quantity'], $errors);
[ "value" => 440 "constraints" => [ Symfony\Component\Validator\Constraints\GreaterThanOrEqual {#22901 +payload: null +groups: [ "Default" ] +message: "This value should be greater than or equal to {{ compared_value }}." +value: 0 +propertyPath: null } ] "groups" => null ]
In
OrderItemType.php
line ():
No violations
case OrderItemTypeMaster::CHARGE:$errors = $this->validator->validate($OrderItem->getPrice(), [new Assert\GreaterThanOrEqual(0)]);$this->addErrorsIfExists($form['price'], $errors);$errors = $this->validator->validate($OrderItem->getQuantity(), [new Assert\GreaterThanOrEqual(0)]);$this->addErrorsIfExists($form['quantity'], $errors);break;
[ "value" => 1 "constraints" => [ Symfony\Component\Validator\Constraints\GreaterThanOrEqual {#22894 +payload: null +groups: [ "Default" ] +message: "This value should be greater than or equal to {{ compared_value }}." +value: 0 +propertyPath: null } ] "groups" => null ]
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 {#19828 name: "order" type_class: "Eccube\Form\Type\Admin\OrderType" data: Eccube\Entity\Order {#17787 -id: 778 -pre_order_id: "12189f87ae43c49d7c8825dccfe8134ae4627dc8" -order_no: "778" -message: null -name01: "モトショップ" -name02: "シロタ" -kana01: "モトショップ" -kana02: "シロタ" -company_name: null -email: "office@motoshop-shirota.jp" -phone_number: "027-361-0222" -postal_code: "3700001" -addr01: "高崎市中尾町" -addr02: "456-4" -birth: null -subtotal: 27318.0 -discount: 0 -delivery_fee_total: 0 -charge: 440 -tax: 2523.0 -total: 27758.0 -payment_total: 27758.0 -payment_method: "代金引換" -note: """ 小島\r\n △15% """ -create_date: DateTime @1776139549 {#17888 date: 2026-04-14 13:05:49.0 Asia/Tokyo (+09:00) } -update_date: DateTime @1776139586 {#23703 date: 2026-04-14 04:06:26.685262 UTC (+00:00) } -order_date: DateTime @1776139549 {#17891 date: 2026-04-14 04:05:49.0 UTC (+00:00) } -payment_date: null -currency_code: "JPY" -complete_message: null -complete_mail_message: null -OrderItems: Doctrine\ORM\PersistentCollection {#18041 …} -Shippings: Doctrine\ORM\PersistentCollection {#18294 …} -MailHistories: Doctrine\ORM\PersistentCollection {#18452 …} -Customer: Proxies\__CG__\Eccube\Entity\Customer {#18582 …} -Country: null -Pref: Proxies\__CG__\Eccube\Entity\Master\Pref {#18581 …} -Sex: null -Job: null -Payment: Proxies\__CG__\Eccube\Entity\Payment {#18531 …} -DeviceType: null -CustomerOrderStatus: Proxies\__CG__\Eccube\Entity\Master\CustomerOrderStatus {#18568 …} -OrderStatusColor: Proxies\__CG__\Eccube\Entity\Master\OrderStatusColor {#18558 …} -OrderStatus: Proxies\__CG__\Eccube\Entity\Master\OrderStatus {#18289 …} -_calc_dealer_rank: false -present_dealer_rank_name: "" -dealer_rank_id: null -dealer_rank_name: null -add_point: 0 -use_point: 0.0 } } "constraints" => null "groups" => null ]