Skip to content

Add more values to payment details #101

Add more values to payment details

Add more values to payment details #101

Triggered via push June 19, 2024 09:27
Status Failure
Total duration 2m 0s
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

37 errors
Coding Standards (PHP8.1 | Deps: highest)
Process completed with exit code 1.
Unit tests (PHP8.1 | Deps: lowest | SF~6.4.0)
Process completed with exit code 2.
Unit tests (PHP8.2 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_1_lowest__6_4_0" failed.
Unit tests (PHP8.2 | Deps: lowest | SF~6.4.0)
Process completed with exit code 2.
UndefinedClass: src/Resources/functions.php#L7
src/Resources/functions.php:7:23: UndefinedClass: Class, interface or enum named Setono\SyliusShipmondoPlugin\formatAmount does not exist (see https://psalm.dev/019)
MixedArgument: src/Resources/functions.php#L7
src/Resources/functions.php:7:23: MixedArgument: Argument 1 of function_exists cannot be mixed, expecting string (see https://psalm.dev/030)
Static Code Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
Process completed with exit code 2.
Unit tests (PHP8.1 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_lowest__6_4_0" failed.
Unit tests (PHP8.2 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_lowest__6_4_0" failed.
Static Code Analysis (PHP8.2 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_1_highest__6_4_0" failed.
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#L29
src/DataMapper/OrderLinesSalesOrderDataMapper.php:29:54: PossiblyFalseReference: Cannot call method getTotal on possibly false value (see https://psalm.dev/105)
MoreSpecificReturnType: src/DataMapper/PaymentDetailsSalesOrderDataMapper.php#L34
src/DataMapper/PaymentDetailsSalesOrderDataMapper.php:34: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#L43
src/DataMapper/PaymentDetailsSalesOrderDataMapper.php:43: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#L44
src/DataMapper/ShippingSalesOrderDataMapper.php:44: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.1 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_1_highest__6_4_0" failed.
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#L29
src/DataMapper/OrderLinesSalesOrderDataMapper.php:29:54: PossiblyFalseReference: Cannot call method getTotal on possibly false value (see https://psalm.dev/105)
MoreSpecificReturnType: src/DataMapper/PaymentDetailsSalesOrderDataMapper.php#L34
src/DataMapper/PaymentDetailsSalesOrderDataMapper.php:34: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#L43
src/DataMapper/PaymentDetailsSalesOrderDataMapper.php:43: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#L44
src/DataMapper/ShippingSalesOrderDataMapper.php:44: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_highest__6_4_0" failed.
UndefinedClass: src/Resources/functions.php#L7
src/Resources/functions.php:7:23: UndefinedClass: Class, interface or enum named Setono\SyliusShipmondoPlugin\formatAmount does not exist (see https://psalm.dev/019)
MixedArgument: src/Resources/functions.php#L7
src/Resources/functions.php:7:23: MixedArgument: Argument 1 of function_exists cannot be mixed, expecting string (see https://psalm.dev/030)
Static Code Analysis (PHP8.2 | Deps: highest | SF~6.4.0)
Process completed with exit code 2.
Code Coverage (PHP8.2 | Deps: highest)
Process completed with exit code 2.
Mutation tests (8.2, highest)
Process completed with exit code 1.