[ECP-9489] Implement PHPStan and fix relevant issues #9
Annotations
20 errors and 2 warnings
build (8.3):
AdminMessage/VersionMessage.php#L46
Parameter $inboxFactory of method Adyen\Payment\AdminMessage\VersionMessage::__construct() has invalid type Magento\AdminNotification\Model\InboxFactory.
|
build (8.3):
Block/Checkout/Success.php#L43
Property Adyen\Payment\Block\Checkout\Success::$orderFactory has unknown class Magento\Sales\Model\OrderFactory as its type.
|
build (8.3):
Block/Checkout/Success.php#L50
Parameter $orderFactory of method Adyen\Payment\Block\Checkout\Success::__construct() has invalid type Magento\Sales\Model\OrderFactory.
|
build (8.3):
Block/Info/AbstractInfo.php#L23
Property Adyen\Payment\Block\Info\AbstractInfo::$adyenOrderPaymentCollectionFactory has unknown class Adyen\Payment\Model\ResourceModel\Order\Payment\CollectionFactory as its type.
|
build (8.3):
Block/Info/AbstractInfo.php#L27
Parameter $adyenOrderPaymentCollectionFactory of method Adyen\Payment\Block\Info\AbstractInfo::__construct() has invalid type Adyen\Payment\Model\ResourceModel\Order\Payment\CollectionFactory.
|
build (8.3):
Block/Info/Cc.php#L27
Parameter $adyenOrderPaymentCollectionFactory of method Adyen\Payment\Block\Info\Cc::__construct() has invalid type Adyen\Payment\Model\ResourceModel\Order\Payment\CollectionFactory.
|
build (8.3):
Block/Info/Moto.php#L27
Parameter $adyenOrderPaymentCollectionFactory of method Adyen\Payment\Block\Info\Moto::__construct() has invalid type Adyen\Payment\Model\ResourceModel\Order\Payment\CollectionFactory.
|
build (8.3):
Block/Info/PaymentMethodInfo.php#L26
Parameter $adyenOrderPaymentCollectionFactory of method Adyen\Payment\Block\Info\PaymentMethodInfo::__construct() has invalid type Adyen\Payment\Model\ResourceModel\Order\Payment\CollectionFactory.
|
build (8.3):
Console/Command/EnablePaymentMethodsCommand.php#L14
Property Adyen\Payment\Console\Command\EnablePaymentMethodsCommand::$paymentMethodsFactory has unknown class Adyen\Payment\Helper\PaymentMethodsFactory as its type.
|
build (8.3):
Console/Command/EnablePaymentMethodsCommand.php#L17
Parameter $paymentMethodsFactory of method Adyen\Payment\Console\Command\EnablePaymentMethodsCommand::__construct() has invalid type Adyen\Payment\Helper\PaymentMethodsFactory.
|
build (8.2):
AdminMessage/VersionMessage.php#L46
Parameter $inboxFactory of method Adyen\Payment\AdminMessage\VersionMessage::__construct() has invalid type Magento\AdminNotification\Model\InboxFactory.
|
build (8.2):
Block/Checkout/Success.php#L43
Property Adyen\Payment\Block\Checkout\Success::$orderFactory has unknown class Magento\Sales\Model\OrderFactory as its type.
|
build (8.2):
Block/Checkout/Success.php#L50
Parameter $orderFactory of method Adyen\Payment\Block\Checkout\Success::__construct() has invalid type Magento\Sales\Model\OrderFactory.
|
build (8.2):
Block/Info/AbstractInfo.php#L23
Property Adyen\Payment\Block\Info\AbstractInfo::$adyenOrderPaymentCollectionFactory has unknown class Adyen\Payment\Model\ResourceModel\Order\Payment\CollectionFactory as its type.
|
build (8.2):
Block/Info/AbstractInfo.php#L27
Parameter $adyenOrderPaymentCollectionFactory of method Adyen\Payment\Block\Info\AbstractInfo::__construct() has invalid type Adyen\Payment\Model\ResourceModel\Order\Payment\CollectionFactory.
|
build (8.2):
Block/Info/Cc.php#L27
Parameter $adyenOrderPaymentCollectionFactory of method Adyen\Payment\Block\Info\Cc::__construct() has invalid type Adyen\Payment\Model\ResourceModel\Order\Payment\CollectionFactory.
|
build (8.2):
Block/Info/Moto.php#L27
Parameter $adyenOrderPaymentCollectionFactory of method Adyen\Payment\Block\Info\Moto::__construct() has invalid type Adyen\Payment\Model\ResourceModel\Order\Payment\CollectionFactory.
|
build (8.2):
Block/Info/PaymentMethodInfo.php#L26
Parameter $adyenOrderPaymentCollectionFactory of method Adyen\Payment\Block\Info\PaymentMethodInfo::__construct() has invalid type Adyen\Payment\Model\ResourceModel\Order\Payment\CollectionFactory.
|
build (8.2):
Console/Command/EnablePaymentMethodsCommand.php#L14
Property Adyen\Payment\Console\Command\EnablePaymentMethodsCommand::$paymentMethodsFactory has unknown class Adyen\Payment\Helper\PaymentMethodsFactory as its type.
|
build (8.2):
Console/Command/EnablePaymentMethodsCommand.php#L17
Parameter $paymentMethodsFactory of method Adyen\Payment\Console\Command\EnablePaymentMethodsCommand::__construct() has invalid type Adyen\Payment\Helper\PaymentMethodsFactory.
|
build (8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (8.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|