Allow the vendor name to be null on Product::$vendors #46
Annotations
6 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run infection:
src/DataTransferObject/SalesOrder/SalesOrder.php#L66
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
* Otherwise, PeakWMS will not be able to find and capture the order in the payment integration.
*/
public ?string $transactionNumber = null,
- public bool $giftWrap = false,
+ public bool $giftWrap = true,
public ?string $customerReference = null,
public ?PaymentStatus $paymentStatus = null,
public ?PickAgainReason $pickAgainReason = null,
|
Run infection:
src/DataTransferObject/SalesOrder/SalesOrder.php#L74
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
public ?Address $shippingAddress = null,
public ?Address $senderAddress = null,
public ?string $sendWithOrder = null,
- public bool $generateAndPrintDeliveryNote = false,
+ public bool $generateAndPrintDeliveryNote = true,
/** @var list<SalesOrderLine> $orderLines */
public array $orderLines = []
)
|
Run infection:
src/DataTransferObject/SalesOrder/SalesOrder.php#L79
Escaped Mutant for Mutator "CastString":
--- Original
+++ New
@@ @@
)
{
$this->orderId = (string) $orderId;
- $this->orderNumber = (string) $orderNumber;
+ $this->orderNumber = $orderNumber;
$this->orderDateTime = self::convertDateTime($orderDateTime);
$this->requestedDeliveryDate = self::convertDateTime($requestedDeliveryDate);
}
}
|
Run infection:
src/Parser/WebhookParser.php#L52
Escaped Mutant for Mutator "MatchArmRemoval":
--- Original
+++ New
@@ @@
}
return match ($name) {
Name::StockAdjust => WebhookDataStockAdjust::class,
- Name::PickOrderPacked => WebhookDataPickOrderPacked::class,
default => throw new \InvalidArgumentException(sprintf('The name "%d" is not supported', $name->value)),
};
}
}
|
Run infection:
src/Parser/WebhookParser.php#L52
Escaped Mutant for Mutator "MatchArmRemoval":
--- Original
+++ New
@@ @@
return match ($name) {
Name::StockAdjust => WebhookDataStockAdjust::class,
Name::PickOrderPacked => WebhookDataPickOrderPacked::class,
- default => throw new \InvalidArgumentException(sprintf('The name "%d" is not supported', $name->value)),
};
}
}
|
Loading