Skip to content

Commit 008a71e

Browse files
authored
[ECP-9938] Support Magento 2.4.9 and PHP 8.5 (#3278)
* [ECP-9938] Support PHP 8.5 * [ECP-9938] Update command return type declarations
1 parent d7b9776 commit 008a71e

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Console/Command/EnablePaymentMethodsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protected function configure(): void
3030
/**
3131
* @throws \Exception
3232
*/
33-
protected function execute(InputInterface $input, OutputInterface $output)
33+
protected function execute(InputInterface $input, OutputInterface $output): int
3434
{
3535
$output->writeln('Starting enabling payment methods.');
3636
$paymentMethods = $this->paymentMethodsFactory->create();

Console/Command/WebhookProcessorCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected function configure()
3131
/**
3232
* @throws \Exception
3333
*/
34-
protected function execute(InputInterface $input, OutputInterface $output)
34+
protected function execute(InputInterface $input, OutputInterface $output): int
3535
{
3636
$output->writeln('Starting webhook processor.');
3737
try {

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
],
1313
"require": {
14-
"php": "~8.2.0||~8.3.0||~8.4.0",
14+
"php": "~8.2.0||~8.3.0||~8.4.0||~8.5.0",
1515
"adyen/php-api-library": "^28.1.0",
1616
"adyen/php-webhook-module": "^1.1.0",
1717
"magento/framework": ">=103.0.8",

0 commit comments

Comments
 (0)