Skip to content

GitHub actions

GitHub actions #31

Triggered via pull request January 17, 2024 13:19
Status Failure
Total duration 1m 54s
Artifacts

php.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 10 warnings
phpunit
An error occurred trying to start process '/usr/bin/bash' with working directory '/home/runner/work/SwagPayPal/SwagPayPal/custom/plugins/SwagPayPal'. No such file or directory
cs / Check Style
Process completed with exit code 1.
phpstan / Static Analyse: src/Checkout/Payment/PayPalPaymentHandler.php#L202
Call to method getSalesChannelId() on an unknown class Shopware\Commercial\Subscription\Entity\Subscription\SubscriptionEntity.
phpstan / Static Analyse: src/Checkout/Payment/PayPalPaymentHandler.php#L206
Call to method getSalesChannelId() on an unknown class Shopware\Commercial\Subscription\Entity\Subscription\SubscriptionEntity.
phpstan / Static Analyse: src/Checkout/Payment/Service/VaultTokenService.php#L58
Call to method getCustomFields() on an unknown class Shopware\Commercial\Subscription\Entity\Subscription\SubscriptionEntity.
phpstan / Static Analyse: src/Checkout/Payment/Service/VaultTokenService.php#L106
Method Swag\PayPal\Checkout\Payment\Service\VaultTokenService::getSubscription() has invalid return type Shopware\Commercial\Subscription\Entity\Subscription\SubscriptionEntity.
phpstan / Static Analyse: src/Checkout/Payment/Service/VaultTokenService.php#L113
Class Shopware\Commercial\Subscription\Checkout\Cart\Recurring\SubscriptionRecurringDataStruct not found.
phpstan / Static Analyse: src/Checkout/Payment/Service/VaultTokenService.php#L117
Call to method getSubscription() on an unknown class Shopware\Commercial\Subscription\Checkout\Cart\Recurring\SubscriptionRecurringDataStruct.
phpstan / Static Analyse: src/Checkout/Payment/Service/VaultTokenService.php#L132
Parameter $subscription of method Swag\PayPal\Checkout\Payment\Service\VaultTokenService::saveTokenToSubscription() has invalid type Shopware\Commercial\Subscription\Entity\Subscription\SubscriptionEntity.
phpstan / Static Analyse: src/Checkout/Payment/Service/VaultTokenService.php#L139
Call to method getId() on an unknown class Shopware\Commercial\Subscription\Entity\Subscription\SubscriptionEntity.
phpstan / Static Analyse: tests/Checkout/Cart/ExcludedProductValidatorTest.php#L155
Please use phpunit attribute instead of annotation for: dataProvider
phpstan / Static Analyse: tests/Checkout/Cart/ExcludedProductValidatorTest.php#L183
Please use phpunit attribute instead of annotation for: dataProvider
cs / Check Style: rector.php#L1
Found violation(s) of type: blank_line_after_opening_tag
cs / Check Style: ecs.php#L1
Found violation(s) of type: blank_line_after_opening_tag
cs / Check Style: src/RestApi/V3/RequestUriV3.php#L1
Found violation(s) of type: blank_line_after_opening_tag
cs / Check Style: src/RestApi/V3/RequestUriV3.php#L1
Found violation(s) of type: single_line_empty_body
cs / Check Style: src/RestApi/V3/Api/PaymentToken.php#L1
Found violation(s) of type: blank_line_after_opening_tag
cs / Check Style: src/RestApi/Exception/PayPalApiException.php#L1
Found violation(s) of type: blank_line_after_opening_tag
cs / Check Style: src/RestApi/PartnerAttributionId.php#L1
Found violation(s) of type: blank_line_after_opening_tag
cs / Check Style: src/RestApi/PartnerAttributionId.php#L1
Found violation(s) of type: single_line_empty_body
cs / Check Style: src/RestApi/BaseURL.php#L1
Found violation(s) of type: blank_line_after_opening_tag
cs / Check Style: src/RestApi/BaseURL.php#L1
Found violation(s) of type: single_line_empty_body