[PAYSHIP-3149] PrestaShop 9 compatibility #7615
php.yml
on: pull_request
Check license headers
13s
PHP Syntax check 8.1|8.2|8.3
46s
PHP-CS-Fixer
32s
PHPUnit
9s
Matrix: PHPStan
Annotations
12 errors and 10 warnings
PHPUnit
Process completed with exit code 1.
|
PHP-CS-Fixer
Process completed with exit code 8.
|
PHPStan (9.0.x-apache):
controllers/admin/AdminPaypalOnboardingPrestashopCheckoutController.php#L79
Property AdminControllerCore::$bo_css (string) in isset() is not nullable.
|
PHPStan (9.0.x-apache):
controllers/admin/AdminPaypalOnboardingPrestashopCheckoutController.php#L125
Protected method AdminPaypalOnboardingPrestashopCheckoutController::isAnonymousAllowed() overriding public method AdminControllerCore::isAnonymousAllowed() should also be public.
|
PHPStan (9.0.x-apache):
controllers/front/payment.php#L73
Method Ps_CheckoutPaymentModuleFrontController::setMedia() should return bool but return statement is missing.
|
PHPStan (9.0.x-apache):
controllers/front/payment.php#L135
Call to an undefined method Symfony\Contracts\Cache\CacheInterface::getItem().
|
PHPStan (9.0.x-apache):
controllers/front/payment.php#L146
Call to an undefined method Symfony\Contracts\Cache\CacheInterface::getItem().
|
PHPStan (9.0.x-apache):
ps_checkout.php#L552
Offset 'objOrder' on array{cookie: Cookie, cart: Cart, altern: int, order: Order, objOrder: Order} in isset() always exists and is not nullable.
|
PHPStan (9.0.x-apache):
ps_checkout.php#L582
Unsafe access to private property Ps_checkout::$currencyIsAllowed through static::.
|
PHPStan (9.0.x-apache):
ps_checkout.php#L583
Unsafe access to private property Ps_checkout::$currencyIsAllowed through static::.
|
PHPStan (9.0.x-apache):
ps_checkout.php#L598
Unsafe access to private property Ps_checkout::$currencyIsAllowed through static::.
|
PHPStan (9.0.x-apache):
ps_checkout.php#L607
Unsafe access to private property Ps_checkout::$currencyIsAllowed through static::.
|
PHPUnit
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Check license headers
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
PHPStan (9.0.x-apache)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
PHP-CS-Fixer
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
PHP-CS-Fixer
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
PHP-CS-Fixer
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
PHP Syntax check 8.1|8.2|8.3
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
PHP Syntax check 8.1|8.2|8.3
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
PHPStan (9.0.x-apache)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
PHPStan (9.0.x-apache)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|