From 5fe5fe1e88224f9d3e08a5596423838bda03c447 Mon Sep 17 00:00:00 2001 From: Francis Hilaire Date: Thu, 4 Jan 2024 00:47:59 +0100 Subject: [PATCH] Fix PHPStan moved methods --- phpstan.neon.dist | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index a028a2f..005ec74 100755 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -23,4 +23,7 @@ parameters: - '/Parameter #1 \$configuration of method Symfony\\Component\\DependencyInjection\\Extension\\Extension::processConfiguration\(\) expects Symfony\\Component\\Config\\Definition\\ConfigurationInterface, Symfony\\Component\\Config\\Definition\\ConfigurationInterface\|null given\./' - '/Parameter #1 \$request \(Payum\\Core\\Request\\Convert\) of method FluxSE\\SyliusPayumStripePlugin\\Action\\ConvertPaymentAction::execute\(\) should be contravariant with parameter \$request \(mixed\) of method Payum\\Core\\Action\\ActionInterface::execute\(\)/' - message: '/Call to an undefined method Mockery\\ExpectationInterface\|Mockery\\HigherOrderMessage::(once|andReturnUsing)\(\)\./' - path: tests/Behat/Mocker/StripeCheckoutSessionMocker.php + paths: + - tests/Behat/Mocker/Api/CheckoutSessionMocker.php + - tests/Behat/Mocker/Api/PaymentIntentMocker.php + - tests/Behat/Mocker/Api/RefundMocker.php