Skip to content

Refacto/payment method token #6220

Refacto/payment method token

Refacto/payment method token #6220

Triggered via pull request January 15, 2024 09:06
Status Failure
Total duration 1m 11s
Artifacts

php.yml

on: pull_request
Check license headers
14s
Check license headers
PHP Syntax check 7.2|7.3|7.4
38s
PHP Syntax check 7.2|7.3|7.4
PHP-CS-Fixer
1m 2s
PHP-CS-Fixer
PHPUnit
13s
PHPUnit
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 14 warnings
PHPStan (8.0.0): src/PayPal/Customer/PayPalCustomerRepository.php#L51
Return typehint of method PrestaShop\Module\PrestashopCheckout\PayPal\Customer\PayPalCustomerRepository::findPayPalCustomerIdByCustomerId() has invalid type PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
PHPStan (8.0.0): src/PayPal/Customer/PayPalCustomerRepository.php#L60
Instantiated class PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId not found.
PHPStan (8.0.0): src/PayPal/Customer/PayPalCustomerRepository.php#L74
Parameter $paypalCustomerId of method PrestaShop\Module\PrestashopCheckout\PayPal\Customer\PayPalCustomerRepository::save() has invalid typehint type PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
PHPStan (8.0.0): src/PayPal/Customer/PayPalCustomerRepository.php#L74
Parameter $paypalCustomerId of method PrestaShop\Module\PrestashopCheckout\PayPal\Customer\PayPalCustomerRepository::save() has invalid typehint type PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
PHPStan (8.0.0): src/PayPal/Customer/PayPalCustomerRepository.php#L81
Call to method getValue() on an unknown class PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
PHPStan (8.0.0): src/PayPal/OAuth/OAuthService.php#L43
Parameter $customerId of method PrestaShop\Module\PrestashopCheckout\PayPal\OAuth\OAuthService::getUserIdToken() has invalid typehint type PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
PHPStan (8.0.0): src/PayPal/OAuth/OAuthService.php#L43
Parameter $customerId of method PrestaShop\Module\PrestashopCheckout\PayPal\OAuth\OAuthService::getUserIdToken() has invalid typehint type PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
PHPStan (8.0.0): src/PayPal/OAuth/OAuthService.php#L49
Call to method getValue() on an unknown class PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
PHPStan (8.0.0): src/PaymentMethodToken/PaymentMethodTokenRepository.php#L53
Parameter $customerId of method PrestaShop\Module\PrestashopCheckout\PaymentMethodToken\PaymentMethodTokenRepository::findByCustomerId() has invalid typehint type PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
PHPStan (8.0.0): src/PaymentMethodToken/PaymentMethodTokenRepository.php#L53
Parameter $customerId of method PrestaShop\Module\PrestashopCheckout\PaymentMethodToken\PaymentMethodTokenRepository::findByCustomerId() has invalid typehint type PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
PHPStan (latest): src/PayPal/Customer/PayPalCustomerRepository.php#L51
Return typehint of method PrestaShop\Module\PrestashopCheckout\PayPal\Customer\PayPalCustomerRepository::findPayPalCustomerIdByCustomerId() has invalid type PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
PHPStan (latest): src/PayPal/Customer/PayPalCustomerRepository.php#L60
Instantiated class PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId not found.
PHPStan (latest): src/PayPal/Customer/PayPalCustomerRepository.php#L74
Parameter $paypalCustomerId of method PrestaShop\Module\PrestashopCheckout\PayPal\Customer\PayPalCustomerRepository::save() has invalid typehint type PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
PHPStan (latest): src/PayPal/Customer/PayPalCustomerRepository.php#L74
Parameter $paypalCustomerId of method PrestaShop\Module\PrestashopCheckout\PayPal\Customer\PayPalCustomerRepository::save() has invalid typehint type PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
PHPStan (latest): src/PayPal/Customer/PayPalCustomerRepository.php#L81
Call to method getValue() on an unknown class PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
PHPStan (latest): src/PayPal/OAuth/OAuthService.php#L43
Parameter $customerId of method PrestaShop\Module\PrestashopCheckout\PayPal\OAuth\OAuthService::getUserIdToken() has invalid typehint type PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
PHPStan (latest): src/PayPal/OAuth/OAuthService.php#L43
Parameter $customerId of method PrestaShop\Module\PrestashopCheckout\PayPal\OAuth\OAuthService::getUserIdToken() has invalid typehint type PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
PHPStan (latest): src/PayPal/OAuth/OAuthService.php#L49
Call to method getValue() on an unknown class PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
PHPStan (latest): src/PaymentMethodToken/PaymentMethodTokenRepository.php#L53
Parameter $customerId of method PrestaShop\Module\PrestashopCheckout\PaymentMethodToken\PaymentMethodTokenRepository::findByCustomerId() has invalid typehint type PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
PHPStan (latest): src/PaymentMethodToken/PaymentMethodTokenRepository.php#L53
Parameter $customerId of method PrestaShop\Module\PrestashopCheckout\PaymentMethodToken\PaymentMethodTokenRepository::findByCustomerId() has invalid typehint type PrestaShop\Module\PrestashopCheckout\PayPal\Customer\ValueObject\PayPalCustomerId.
Check license headers
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPUnit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Syntax check 7.2|7.3|7.4
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP Syntax check 7.2|7.3|7.4
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 7.2|7.3|7.4
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 (8.0.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/[email protected], actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPStan (8.0.0)
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 (8.0.0)
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 (latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/[email protected], actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPStan (latest)
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 (latest)
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 following actions uses node12 which is deprecated and will be forced to run on node16: actions/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
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/