Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ECP-9605] Fix broken Magento 2.4.4 and 2.4.5 compatibility #2875

Merged
merged 5 commits into from
Feb 5, 2025

Conversation

candemiralp
Copy link
Member

@candemiralp candemiralp commented Feb 5, 2025

Description

Even though PHP 8 supports mix method return types, Magento 2 does not support it and throws exception while compiling the generated files on 2.4.4 and 2.4.5. This PR replaces the mix return types with single return types.

Besides that, Magento 2.4.4 compatibility is broken due to the required version of magento/module-instant-purchase on #2828. The required version has been downgraded to support Magento 2.4.4 and 2.4.5.

Tested scenarios

  • Installation and compilation on Magento 2.4.4 and 2.4.5
  • Payment flow on the given versions

Fixes #2870

@candemiralp candemiralp added the Fix Indicates a bug fix label Feb 5, 2025
@candemiralp candemiralp requested a review from a team as a code owner February 5, 2025 08:27
@candemiralp candemiralp changed the title [ECP] Fix broken Magento 2.4.4 and 2.4.5 compatibility [ECP-9605] Fix broken Magento 2.4.4 and 2.4.5 compatibility Feb 5, 2025
@khushboo-singhvi khushboo-singhvi merged commit 6c37baa into main Feb 5, 2025
15 checks passed
@khushboo-singhvi khushboo-singhvi deleted the ECP-9605 branch February 5, 2025 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Indicates a bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ECP-9605][ECP-9582] Magento 2.4.4 Compatibility with Later releases
4 participants