Handle webhooks #13
build.yaml
on: pull_request
Matrix: code-coverage
Matrix: coding-standards
Matrix: dependency-analysis
Matrix: integration-tests
Matrix: Mutation tests
Matrix: static-code-analysis
Matrix: unit-tests
Annotations
68 errors
Dependency Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
Process completed with exit code 1.
|
Dependency Analysis (PHP8.1 | Deps: highest | SF~5.4.0)
Process completed with exit code 1.
|
Dependency Analysis (PHP8.2 | Deps: lowest | SF~6.4.0)
Process completed with exit code 1.
|
Dependency Analysis (PHP8.1 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_1_highest__6_4_0" failed.
|
Dependency Analysis (PHP8.1 | Deps: lowest | SF~6.4.0)
Process completed with exit code 1.
|
Dependency Analysis (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_highest__6_4_0" failed.
|
Dependency Analysis (PHP8.2 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_highest__6_4_0" failed.
|
Dependency Analysis (PHP8.2 | Deps: highest | SF~6.4.0)
The operation was canceled.
|
Dependency Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_1_highest__6_4_0" failed.
|
Dependency Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
The operation was canceled.
|
Dependency Analysis (PHP8.1 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_highest__6_4_0" failed.
|
Integration tests (PHP8.1 | Deps: highest | SF~5.4.0)
Process completed with exit code 1.
|
Integration tests (PHP8.1 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
|
Integration tests (PHP8.1 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
|
Coding Standards (PHP8.1 | Deps: highest)
Process completed with exit code 2.
|
Integration tests (PHP8.2 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_1_highest__5_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)
|
Integration tests (PHP8.1 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
|
Integration tests (PHP8.2 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
|
Static Code Analysis (PHP8.2 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_lowest__5_4_0" failed.
|
Integration tests (PHP8.2 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
|
Static Code Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_lowest__5_4_0" failed.
|
Static Code Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_1_lowest__5_4_0" failed.
|
Static Code Analysis (PHP8.2 | Deps: highest | SF~5.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__5_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)
|
MixedInferredReturnType:
src/Provider/ProductVariantProvider.php#L25
src/Provider/ProductVariantProvider.php:25:90: MixedInferredReturnType: Could not verify return type 'Sylius\Component\Core\Model\ProductVariantInterface|null' for Setono\SyliusPeakWMSPlugin\Provider\ProductVariantProvider::provideFromStockAdjustment (see https://psalm.dev/047)
|
MixedAssignment:
src/Provider/ProductVariantProvider.php#L27
src/Provider/ProductVariantProvider.php:27:9: MixedAssignment: Unable to determine the type that $obj is being assigned to (see https://psalm.dev/032)
|
MixedReturnStatement:
src/Provider/ProductVariantProvider.php#L37
src/Provider/ProductVariantProvider.php:37:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
|
Static Code Analysis (PHP8.2 | Deps: lowest | SF~6.4.0)
The operation was canceled.
|
Static Code Analysis (PHP8.1 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_1_lowest__5_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)
|
MixedInferredReturnType:
src/Provider/ProductVariantProvider.php#L25
src/Provider/ProductVariantProvider.php:25:90: MixedInferredReturnType: Could not verify return type 'Sylius\Component\Core\Model\ProductVariantInterface|null' for Setono\SyliusPeakWMSPlugin\Provider\ProductVariantProvider::provideFromStockAdjustment (see https://psalm.dev/047)
|
MixedAssignment:
src/Provider/ProductVariantProvider.php#L27
src/Provider/ProductVariantProvider.php:27:9: MixedAssignment: Unable to determine the type that $obj is being assigned to (see https://psalm.dev/032)
|
MixedReturnStatement:
src/Provider/ProductVariantProvider.php#L37
src/Provider/ProductVariantProvider.php:37:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
|
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_1_lowest__5_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)
|
Integration tests (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
|
Mutation tests (8.2, highest)
Process completed with exit code 1.
|