Skip to content

Fix PHP 8.4 execute() return type and add PHP 8.5 / Magento 2.4.9 support#231

Open
gexxx05 wants to merge 2 commits into
firegento:developfrom
gexxx05:fix/php-8.4-execute-return-type-and-8.5-support
Open

Fix PHP 8.4 execute() return type and add PHP 8.5 / Magento 2.4.9 support#231
gexxx05 wants to merge 2 commits into
firegento:developfrom
gexxx05:fix/php-8.4-execute-return-type-and-8.5-support

Conversation

@gexxx05
Copy link
Copy Markdown

@gexxx05 gexxx05 commented May 19, 2026

Please make sure these boxes are checked before submitting your PR - thank you!

  • Pull request is based against develop branch
  • README.md reflects changes (if applicable)
  • New files contain a license header

Issue

No related issue.

Proposed changes

  • Fix PHP 8.4 fatal in Command/SetupRunCommand::execute(): add int return type
    (PHP 8.4 enforces the tentative return type from Symfony\Console\Command\Command::execute()).
  • Bump composer.json PHP/Magento constraints to include PHP 8.5 and Magento 2.4.9.
  • Extend GitHub Actions integration workflow with PHP 8.4/8.5 and Magento 2.4.9 matrix entries.

@sprankhub
Copy link
Copy Markdown
Member

Thanks for your contribution, @gexxx05! Could you please check the failing workflows?

Without actions/checkout the workspace is empty and the extension
under test cannot be mounted into the Magento installation.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@gexxx05
Copy link
Copy Markdown
Author

gexxx05 commented May 19, 2026

@sprankhub Added the missing actions/checkout@v4 step to the 2.4.8 and 2.4.9 jobs.

Note: the 2.4.5 (and likely 2.4.6/2.4.7) failures are unrelated to this PR — they are caused by new composer-audit security advisories on webonyx/graphql-php 14.11.x, which affect all Magento installations < 2.4.9 regardless of this change. Adding block_insecure: 'false' to the extdn action input would fix that, but I'd consider it out of scope here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants