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

[PHP 8.2] Fixed some deprecation warnings #3155

Merged
merged 10 commits into from
Apr 11, 2023
Merged

Conversation

fballiano
Copy link
Contributor

In #3152 @ADDISON74 found out some PHP 8.2 deprecation warnings, this PR should fix them.

Note: at the moment it still doesn't fix the problems with Mage_Paypal_Model_Config that apparently were introduced with #2759

Related Pull Requests

  1. Remove declared properties accessed by magic getter in Paypal Config #2759

Fixed Issues

  1. Fixes Lots of errors in the log files #3152

@github-actions github-actions bot added Component: Adminhtml Relates to Mage_Adminhtml Component: Eav Relates to Mage_Eav Component: Rule Relates to Mage_Rule Component: SalesRule Relates to Mage_SalesRule Component: Widget Relates to Mage_Widget Template : admin Relates to admin template labels Apr 9, 2023
fballiano and others added 4 commits April 10, 2023 09:25
but in this case if value is 0 then if would be treated as false and would be wrong no?

Co-authored-by: Ng Kiat Siong <kiatsiong.ng@gmail.com>
Co-authored-by: Ng Kiat Siong <kiatsiong.ng@gmail.com>
@github-actions github-actions bot added the Component: ConfigurableSwatches Relates to Mage_ConfigurableSwatches label Apr 10, 2023
@github-actions github-actions bot added Component: Sales Relates to Mage_Sales and removed Component: SalesRule Relates to Mage_SalesRule labels Apr 10, 2023
Copy link
Contributor

@ADDISON74 ADDISON74 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge it and I will make a list with the warnings left behind we still get in the log files.

@fballiano fballiano merged commit c2f7909 into OpenMage:main Apr 11, 2023
@fballiano fballiano deleted the php82 branch April 11, 2023 10:10
kiatng added a commit to kiatng/magento-lts that referenced this pull request Oct 11, 2023
Co-authored-by: Ng Kiat Siong <kiatsiong.ng@gmail.com>
@kiatng kiatng mentioned this pull request Oct 11, 2023
Flyingmana pushed a commit that referenced this pull request Oct 25, 2023
Co-authored-by: Fabrizio Balliano <fabrizio.balliano@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Adminhtml Relates to Mage_Adminhtml Component: ConfigurableSwatches Relates to Mage_ConfigurableSwatches Component: Eav Relates to Mage_Eav Component: Rule Relates to Mage_Rule Component: Sales Relates to Mage_Sales Component: Widget Relates to Mage_Widget Template : admin Relates to admin template
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lots of errors in the log files
4 participants