Skip to content

Create an upload order request upon order completion #10

Create an upload order request upon order completion

Create an upload order request upon order completion #10

Triggered via push June 14, 2024 10:49
Status Failure
Total duration 1m 58s
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

31 errors
MoreSpecificReturnType: src/DataMapper/SalesOrderDataMapper.php#L49
src/DataMapper/SalesOrderDataMapper.php:49:70: MoreSpecificReturnType: The declared return type 'Sylius\Component\Core\Model\PaymentMethodInterface|null' for Setono\SyliusPeakWMSPlugin\DataMapper\SalesOrderDataMapper::getPaymentMethod is more specific than the inferred return type 'Sylius\Component\Payment\Model\PaymentMethodInterface|null' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/DataMapper/SalesOrderDataMapper.php#L58
src/DataMapper/SalesOrderDataMapper.php:58:16: LessSpecificReturnStatement: The type 'Sylius\Component\Payment\Model\PaymentMethodInterface|null' is more general than the declared return type 'Sylius\Component\Core\Model\PaymentMethodInterface|null' for Setono\SyliusPeakWMSPlugin\DataMapper\SalesOrderDataMapper::getPaymentMethod (see https://psalm.dev/129)
MoreSpecificReturnType: src/DataMapper/SalesOrderDataMapper.php#L61
src/DataMapper/SalesOrderDataMapper.php:61:71: MoreSpecificReturnType: The declared return type 'Sylius\Component\Core\Model\ShippingMethodInterface|null' for Setono\SyliusPeakWMSPlugin\DataMapper\SalesOrderDataMapper::getShippingMethod is more specific than the inferred return type 'Sylius\Component\Shipping\Model\ShippingMethodInterface|null' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/DataMapper/SalesOrderDataMapper.php#L70
src/DataMapper/SalesOrderDataMapper.php:70:16: LessSpecificReturnStatement: The type 'Sylius\Component\Shipping\Model\ShippingMethodInterface|null' is more general than the declared return type 'Sylius\Component\Core\Model\ShippingMethodInterface|null' for Setono\SyliusPeakWMSPlugin\DataMapper\SalesOrderDataMapper::getShippingMethod (see https://psalm.dev/129)
PossiblyFalseReference: src/DataMapper/SalesOrderLinesSalesOrderDataMapper.php#L29
src/DataMapper/SalesOrderLinesSalesOrderDataMapper.php:29:54: PossiblyFalseReference: Cannot call method getTotal on possibly false value (see https://psalm.dev/105)
MixedMethodCall: src/EventSubscriber/CreateUploadOrderRequestSubscriber.php#L39
src/EventSubscriber/CreateUploadOrderRequestSubscriber.php:39:17: MixedMethodCall: Cannot determine the type of $order when calling method setPeakWMSUploadOrderRequest (see https://psalm.dev/015)
Static Code Analysis (PHP8.2 | Deps: lowest | SF~6.4.0)
Process completed with exit code 2.
Static Code Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_2_lowest__6_4_0" failed.
Static Code Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
The operation was canceled.
Static Code Analysis (PHP8.1 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_2_lowest__6_4_0" failed.
MoreSpecificReturnType: src/DataMapper/SalesOrderDataMapper.php#L49
src/DataMapper/SalesOrderDataMapper.php:49:70: MoreSpecificReturnType: The declared return type 'Sylius\Component\Core\Model\PaymentMethodInterface|null' for Setono\SyliusPeakWMSPlugin\DataMapper\SalesOrderDataMapper::getPaymentMethod is more specific than the inferred return type 'Sylius\Component\Payment\Model\PaymentMethodInterface|null' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/DataMapper/SalesOrderDataMapper.php#L58
src/DataMapper/SalesOrderDataMapper.php:58:16: LessSpecificReturnStatement: The type 'Sylius\Component\Payment\Model\PaymentMethodInterface|null' is more general than the declared return type 'Sylius\Component\Core\Model\PaymentMethodInterface|null' for Setono\SyliusPeakWMSPlugin\DataMapper\SalesOrderDataMapper::getPaymentMethod (see https://psalm.dev/129)
MoreSpecificReturnType: src/DataMapper/SalesOrderDataMapper.php#L61
src/DataMapper/SalesOrderDataMapper.php:61:71: MoreSpecificReturnType: The declared return type 'Sylius\Component\Core\Model\ShippingMethodInterface|null' for Setono\SyliusPeakWMSPlugin\DataMapper\SalesOrderDataMapper::getShippingMethod is more specific than the inferred return type 'Sylius\Component\Shipping\Model\ShippingMethodInterface|null' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/DataMapper/SalesOrderDataMapper.php#L70
src/DataMapper/SalesOrderDataMapper.php:70:16: LessSpecificReturnStatement: The type 'Sylius\Component\Shipping\Model\ShippingMethodInterface|null' is more general than the declared return type 'Sylius\Component\Core\Model\ShippingMethodInterface|null' for Setono\SyliusPeakWMSPlugin\DataMapper\SalesOrderDataMapper::getShippingMethod (see https://psalm.dev/129)
PossiblyFalseReference: src/DataMapper/SalesOrderLinesSalesOrderDataMapper.php#L29
src/DataMapper/SalesOrderLinesSalesOrderDataMapper.php:29:54: PossiblyFalseReference: Cannot call method getTotal on possibly false value (see https://psalm.dev/105)
MixedMethodCall: src/EventSubscriber/CreateUploadOrderRequestSubscriber.php#L39
src/EventSubscriber/CreateUploadOrderRequestSubscriber.php:39:17: MixedMethodCall: Cannot determine the type of $order when calling method setPeakWMSUploadOrderRequest (see https://psalm.dev/015)
Static Code Analysis (PHP8.1 | Deps: lowest | SF~6.4.0)
The operation was canceled.
Static Code Analysis (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_lowest__6_4_0" failed.
Static Code Analysis (PHP8.1 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_lowest__6_4_0" failed.
MoreSpecificReturnType: src/DataMapper/SalesOrderDataMapper.php#L49
src/DataMapper/SalesOrderDataMapper.php:49:70: MoreSpecificReturnType: The declared return type 'Sylius\Component\Core\Model\PaymentMethodInterface|null' for Setono\SyliusPeakWMSPlugin\DataMapper\SalesOrderDataMapper::getPaymentMethod is more specific than the inferred return type 'Sylius\Component\Payment\Model\PaymentMethodInterface|null' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/DataMapper/SalesOrderDataMapper.php#L58
src/DataMapper/SalesOrderDataMapper.php:58:16: LessSpecificReturnStatement: The type 'Sylius\Component\Payment\Model\PaymentMethodInterface|null' is more general than the declared return type 'Sylius\Component\Core\Model\PaymentMethodInterface|null' for Setono\SyliusPeakWMSPlugin\DataMapper\SalesOrderDataMapper::getPaymentMethod (see https://psalm.dev/129)
MoreSpecificReturnType: src/DataMapper/SalesOrderDataMapper.php#L61
src/DataMapper/SalesOrderDataMapper.php:61:71: MoreSpecificReturnType: The declared return type 'Sylius\Component\Core\Model\ShippingMethodInterface|null' for Setono\SyliusPeakWMSPlugin\DataMapper\SalesOrderDataMapper::getShippingMethod is more specific than the inferred return type 'Sylius\Component\Shipping\Model\ShippingMethodInterface|null' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/DataMapper/SalesOrderDataMapper.php#L70
src/DataMapper/SalesOrderDataMapper.php:70:16: LessSpecificReturnStatement: The type 'Sylius\Component\Shipping\Model\ShippingMethodInterface|null' is more general than the declared return type 'Sylius\Component\Core\Model\ShippingMethodInterface|null' for Setono\SyliusPeakWMSPlugin\DataMapper\SalesOrderDataMapper::getShippingMethod (see https://psalm.dev/129)
PossiblyFalseReference: src/DataMapper/SalesOrderLinesSalesOrderDataMapper.php#L29
src/DataMapper/SalesOrderLinesSalesOrderDataMapper.php:29:54: PossiblyFalseReference: Cannot call method getTotal on possibly false value (see https://psalm.dev/105)
MixedMethodCall: src/EventSubscriber/CreateUploadOrderRequestSubscriber.php#L39
src/EventSubscriber/CreateUploadOrderRequestSubscriber.php:39:17: MixedMethodCall: Cannot determine the type of $order when calling method setPeakWMSUploadOrderRequest (see https://psalm.dev/015)
TooManyTemplateParams: src/Factory/RegisteredWebhooksFactory.php#L14
src/Factory/RegisteredWebhooksFactory.php:14:9: TooManyTemplateParams: Sylius\Component\Resource\Factory\FactoryInterface<Setono\SyliusPeakWMSPlugin\Model\RegisteredWebhooksInterface> has too many template params, expecting 0 (see https://psalm.dev/184)
MoreSpecificReturnType: src/Factory/RegisteredWebhooksFactory.php#L18
src/Factory/RegisteredWebhooksFactory.php:18:34: MoreSpecificReturnType: The declared return type 'Setono\SyliusPeakWMSPlugin\Model\RegisteredWebhooksInterface' for Setono\SyliusPeakWMSPlugin\Factory\RegisteredWebhooksFactory::createNew is more specific than the inferred return type 'object' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Factory/RegisteredWebhooksFactory.php#L20
src/Factory/RegisteredWebhooksFactory.php:20:16: LessSpecificReturnStatement: The type 'object' is more general than the declared return type 'Setono\SyliusPeakWMSPlugin\Model\RegisteredWebhooksInterface' for Setono\SyliusPeakWMSPlugin\Factory\RegisteredWebhooksFactory::createNew (see https://psalm.dev/129)
TooManyTemplateParams: src/Factory/RegisteredWebhooksFactoryInterface.php#L14
src/Factory/RegisteredWebhooksFactoryInterface.php:14:54: TooManyTemplateParams: Setono\SyliusPeakWMSPlugin\Factory\RegisteredWebhooksFactoryInterface has too many template params when extending Sylius\Component\Resource\Factory\FactoryInterface, expecting 0 (see https://psalm.dev/184)
Static Code Analysis (PHP8.2 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_2_lowest__6_4_0" failed.
Static Code Analysis (PHP8.2 | Deps: highest | SF~6.4.0)
The operation was canceled.