-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Removes some code for PHP versions we no longer support. #39202
Removes some code for PHP versions we no longer support. #39202
Conversation
Hi @hostep. Thank you for your contribution!
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
@magento run all tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @hostep
Thanks for the PR, it's great update.
✅ All looks ok for me.
@magento run Integration Tests |
Hi @hostep, Thank you for the contribution! By looking at the code, the changes looks good to me. No manual testing is required for now. We will check the build results further. If you know any concrete manual step to reproduce, can you please mention the same. Thank you! |
@magento run all tests |
@magento run Functional Tests B2B, Functional Tests EE |
As per this, moving this PR to Extended Testing as the build is failing. |
…step/magento2 into cleanup-old-php-versions-code
@magento run all tests |
@magento run Integration Tests, Unit Tests |
I'm not sure what you mean with this question? Could you elaborate a bit? |
Moving this PR to Merge in Progress as build is green
If in case, you might know the exact area/feature where this modified/deleted code was getting used, we can check those features manually. But for now, as I have mentioned; code looks good to me, hence moving this PR to Merge in Progress as build is green. |
8cb04e3
into
magento:2.4-develop
Thanks for cleanup!
|
Makes sense indeed @ihor-sviziev. |
@magento create issue |
@engcom-Charlie: this is very confusing, we should create a new issue with a good description based on Ihor's comments |
Hi @hostep and @ihor-sviziev, This issue created is for current PR as there were no issue attached as a part of process. So we have created it. @ihor-sviziev #39362 will be consider as a new issue for the comments you mentioned in here. |
Description (*)
Found some code in the codebase that no longer makes sense if we only support PHP 8.2 (soon 8.3?) and higher:
libxml_disable_entity_loader
was deprecated in PHP 8.0: https://php.watch/versions/8.0/libxml_disable_entity_loader-deprecationalways_populate_raw_post_data
was removed in PHP 7.0: https://www.php.net/manual/en/migration70.incompatible.php#migration70.incompatible.removed-ini-directives.featuresRelated Pull Requests
Fixed Issues (if relevant)
None
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)
Resolved issues:
Resolved issues: