Use same syntax as Symfony does in https://github.com/symfony/symfony… #99
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
Annotations
30 errors and 1 warning
Coding Standards (PHP8.1 | Deps: highest)
Process completed with exit code 1.
|
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.
|
Static Code Analysis (PHP8.1 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_2_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#L29
src/DataMapper/PaymentDetailsSalesOrderDataMapper.php:29: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#L38
src/DataMapper/PaymentDetailsSalesOrderDataMapper.php:38: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: highest | SF~6.4.0)
The job was canceled because "_8_2_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.1 | Deps: highest | SF~6.4.0)
Process completed with exit code 2.
|
Static Code Analysis (PHP8.2 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_2_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#L29
src/DataMapper/PaymentDetailsSalesOrderDataMapper.php:29: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#L38
src/DataMapper/PaymentDetailsSalesOrderDataMapper.php:38: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)
|
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
|