Skip to content

Dispatch event when the sales order has been mapped #97

Dispatch event when the sales order has been mapped

Dispatch event when the sales order has been mapped #97

Triggered via push May 29, 2024 08:15
Status Failure
Total duration 2m 13s
Artifacts

build.yaml

on: push
Matrix: code-coverage
Matrix: coding-standards
Matrix: dependency-analysis
Matrix: integration-tests
Matrix: Mutation tests
Matrix: static-code-analysis
Matrix: unit-tests
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 1 warning
MixedInferredReturnType: src/Controller/Shop/GetPickupPointsAction.php#L104
src/Controller/Shop/GetPickupPointsAction.php:104:78: MixedInferredReturnType: Could not verify return type 'null|string' for Setono\SyliusShipmondoPlugin\Controller\Shop\GetPickupPointsAction::resolveChosenPickupPoint (see https://psalm.dev/047)
MixedAssignment: src/Controller/Shop/GetPickupPointsAction.php#L116
src/Controller/Shop/GetPickupPointsAction.php:116:9: MixedAssignment: Unable to determine the type that $id is being assigned to (see https://psalm.dev/032)
MixedReturnStatement: src/Controller/Shop/GetPickupPointsAction.php#L119
src/Controller/Shop/GetPickupPointsAction.php:119:16: MixedReturnStatement: Possibly-mixed return value (see https://psalm.dev/138)
MixedReturnStatement: src/Controller/Shop/GetPickupPointsAction.php#L119
src/Controller/Shop/GetPickupPointsAction.php:119:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
PossiblyFalseReference: src/DataMapper/OrderLinesSalesOrderDataMapper.php#L28
src/DataMapper/OrderLinesSalesOrderDataMapper.php:28:54: PossiblyFalseReference: Cannot call method getTotal on possibly false value (see https://psalm.dev/105)
MoreSpecificReturnType: src/DataMapper/PaymentDetailsSalesOrderDataMapper.php#L33
src/DataMapper/PaymentDetailsSalesOrderDataMapper.php:33:70: MoreSpecificReturnType: The declared return type 'Setono\SyliusShipmondoPlugin\Model\PaymentMethodInterface|null' for Setono\SyliusShipmondoPlugin\DataMapper\PaymentDetailsSalesOrderDataMapper::getPaymentMethod is more specific than the inferred return type 'Sylius\Component\Payment\Model\PaymentMethodInterface|null' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/DataMapper/PaymentDetailsSalesOrderDataMapper.php#L42
src/DataMapper/PaymentDetailsSalesOrderDataMapper.php:42:16: LessSpecificReturnStatement: The type 'Sylius\Component\Payment\Model\PaymentMethodInterface|null' is more general than the declared return type 'Setono\SyliusShipmondoPlugin\Model\PaymentMethodInterface|null' for Setono\SyliusShipmondoPlugin\DataMapper\PaymentDetailsSalesOrderDataMapper::getPaymentMethod (see https://psalm.dev/129)
PossiblyFalseReference: src/DataMapper/ShippingSalesOrderDataMapper.php#L43
src/DataMapper/ShippingSalesOrderDataMapper.php:43:59: PossiblyFalseReference: Cannot call method getAmount on possibly false value (see https://psalm.dev/105)
MoreSpecificReturnType: src/Repository/RegisteredWebhooksRepository.php#L13
src/Repository/RegisteredWebhooksRepository.php:13:56: MoreSpecificReturnType: The declared return type 'Setono\SyliusShipmondoPlugin\Model\RegisteredWebhooksInterface|null' for Setono\SyliusShipmondoPlugin\Repository\RegisteredWebhooksRepository::findOneByVersion is more specific than the inferred return type 'null|object' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Repository/RegisteredWebhooksRepository.php#L18
src/Repository/RegisteredWebhooksRepository.php:18:16: LessSpecificReturnStatement: The type 'null|object' is more general than the declared return type 'Setono\SyliusShipmondoPlugin\Model\RegisteredWebhooksInterface|null' for Setono\SyliusShipmondoPlugin\Repository\RegisteredWebhooksRepository::findOneByVersion (see https://psalm.dev/129)
Static Code Analysis (PHP8.2 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_lowest__6_4_0" failed.
Static Code Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_lowest__6_4_0" failed.
Static Code Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
The operation was canceled.
Static Code Analysis (PHP8.2 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_1_lowest__6_4_0" failed.
Code Coverage (PHP8.2 | Deps: highest)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1