Skip to content

[PAYSHIP-3149] PrestaShop 9 compatibility #7611

[PAYSHIP-3149] PrestaShop 9 compatibility

[PAYSHIP-3149] PrestaShop 9 compatibility #7611

Triggered via pull request February 3, 2025 12:55
Status Failure
Total duration 1m 24s
Artifacts

php.yml

on: pull_request
Check license headers
36s
Check license headers
PHP Syntax check 8.1|8.2|8.3
43s
PHP Syntax check 8.1|8.2|8.3
PHP-CS-Fixer
37s
PHP-CS-Fixer
PHPUnit
9s
PHPUnit
Matrix: PHPStan
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 12 warnings
PHPUnit
Process completed with exit code 1.
PHP-CS-Fixer
Process completed with exit code 8.
PHPStan (9.0.x-apache): classes/OrderMatrice.php#L24
Class OrderMatrice extends unknown class ObjectModel.
PHPStan (9.0.x-apache): classes/OrderMatrice.php#L36
Access to undefined constant OrderMatrice::TYPE_INT.
PHPStan (9.0.x-apache): classes/OrderMatrice.php#L37
Access to undefined constant OrderMatrice::TYPE_STRING.
PHPStan (9.0.x-apache): classes/OrderMatrice.php#L50
Instantiated class DbQuery not found.
PHPStan (9.0.x-apache): classes/OrderMatrice.php#L51
Call to method select() on an unknown class DbQuery.
PHPStan (9.0.x-apache): classes/OrderMatrice.php#L52
Call to method from() on an unknown class DbQuery.
PHPStan (9.0.x-apache): classes/OrderMatrice.php#L53
Call to method where() on an unknown class DbQuery.
PHPStan (9.0.x-apache): classes/OrderMatrice.php#L53
Function pSQL not found.
PHPStan (9.0.x-apache): classes/OrderMatrice.php#L54
Call to method orderBy() on an unknown class DbQuery.
PHPStan (9.0.x-apache): classes/OrderMatrice.php#L56
Call to static method getInstance() on an unknown class Db.
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
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
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
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/
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/