Created stale.yml bot #12
static-analysis.yml
on: pull_request
Matrix: Static Analysis with PHPStan
Annotations
20 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):
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, lowest, 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, lowest, 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, lowest, 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, lowest, 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, lowest, 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, lowest, 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, lowest, 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, lowest, 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, lowest, 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, 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/
|
Static Analysis with PHPStan (8.1, mariadb:10.7, lowest, 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/
|