Skip to content

Pimcore 11: Added return types to conform to ecommerce-framework-bund… #14

Pimcore 11: Added return types to conform to ecommerce-framework-bund…

Pimcore 11: Added return types to conform to ecommerce-framework-bund… #14

Triggered via push March 29, 2024 15:59
Status Failure
Total duration 43s
Artifacts
Matrix: Static Analysis with PHPStan
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
Static Analysis with PHPStan (8.1, mariadb:10.7, highest, false): src/PaymentManager/Payment/Klarna.php#L29
Class Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\Klarna extends unknown class Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\AbstractPayment.
Static Analysis with PHPStan (8.1, mariadb:10.7, highest, false): src/PaymentManager/Payment/Klarna.php#L29
Class Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\Klarna implements unknown interface Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\V7\Payment\PaymentInterface.
Static Analysis with PHPStan (8.1, mariadb:10.7, highest, false): src/PaymentManager/Payment/Klarna.php#L60
Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\Klarna::processOptions() calls parent::processOptions() but Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\Klarna does not extend any class.
Static Analysis with PHPStan (8.1, mariadb:10.7, highest, false): src/PaymentManager/Payment/Klarna.php#L75
Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\Klarna::configureOptions() calls parent::configureOptions() but Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\Klarna does not extend any class.
Static Analysis with PHPStan (8.1, mariadb:10.7, highest, false): src/PaymentManager/Payment/Klarna.php#L108
Parameter $cart of method Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\Klarna::initPayment() has invalid type Pimcore\Bundle\EcommerceFrameworkBundle\CartManager\CartInterface.
Static Analysis with PHPStan (8.1, mariadb:10.7, highest, false): src/PaymentManager/Payment/Klarna.php#L108
Parameter $price of method Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\Klarna::initPayment() has invalid type Pimcore\Bundle\EcommerceFrameworkBundle\PriceSystem\PriceInterface.
Static Analysis with PHPStan (8.1, mariadb:10.7, highest, false): src/PaymentManager/Payment/Klarna.php#L124
Call to method getCurrency() on an unknown class Pimcore\Bundle\EcommerceFrameworkBundle\PriceSystem\PriceInterface.
Static Analysis with PHPStan (8.1, mariadb:10.7, highest, false): src/PaymentManager/Payment/Klarna.php#L143
Method Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\Klarna::startPayment() has invalid return type Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\V7\Payment\StartPaymentResponse\StartPaymentResponseInterface.
Static Analysis with PHPStan (8.1, mariadb:10.7, highest, false): src/PaymentManager/Payment/Klarna.php#L143
Parameter $config of method Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\Klarna::startPayment() has invalid type Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\V7\Payment\StartPaymentRequest\AbstractRequest.
Static Analysis with PHPStan (8.1, mariadb:10.7, highest, false): src/PaymentManager/Payment/Klarna.php#L143
Parameter $orderAgent of method Pimcore\Bundle\EcommerceFrameworkBundle\PaymentManager\Payment\Klarna::startPayment() has invalid type Pimcore\Bundle\EcommerceFrameworkBundle\OrderManager\OrderAgentInterface.
Static Analysis with PHPStan (8.1, mariadb:10.7, lowest, false)
The job was canceled because "_8_1_mariadb_10_7_highest" failed.
Static Analysis with PHPStan (8.1, mariadb:10.7, highest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static Analysis with PHPStan (8.1, mariadb:10.7, highest, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/