Repository navigation
magento-integration: allow php 8.5 for magento 2.4.9 - #6
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
The Adobe Commerce Marketplace rejects the 1.0.3 package when the technical submission is sent:
Magento Open Source 2.4.9 (released 2026-05-12) requires PHP 8.5, and the module declared
"php": ">=8.2 <8.5". This release allows PHP 8.5 and keeps the versions we already support:composer.json:"php": "~8.2.0||~8.3.0||~8.4.0||~8.5.0", the format the Marketplace validator suggests, and version1.0.4.etc/module.xml:setup_version1.0.4, so the uninstall script keeps running (see 1.0.2).README.md: PHP 8.2 to 8.5, tested on Magento 2.4.7 and 2.4.9.CHANGELOG.md: 1.0.4 entry.No runtime code changes. All the Magento dependencies already accept the 2.4.9 module versions (framework 103.0.9, catalog 104.0.9, sales 103.0.9 and the rest).
The Marketplace checks that the listing version matches the package, so 1.0.4 is submitted as a new Marketplace version.
Testing
composer validate,php -lon every source file and the isolatedTest/*.test.phpchecks pass.app/code:setup:install,setup:upgradeandsetup:di:compilecomplete without errors;setup:db:statusreports all modules up to date;hellotext:diagnosereports Magento 2.4.9 and PHP 8.5.11.Follow-up
The unit tests do not run on PHPUnit 12, which Magento 2.4.9 ships. They use
@dataProviderdocblocks (PHPUnit 12 reads only attributes),MockBuilder::addMethods(),withConsecutive(), and aresult()helper that clashes with the now-finalTestCase::result(). This affects only the test suite, not the module, and will be migrated separately so PHPUnit can also run against 2.4.9.