-
Notifications
You must be signed in to change notification settings - Fork 145
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
Fix deprecation warnings with PHP 8.2. #2701
Conversation
I did some small research and when the changes in the PR are legit, I have a few questions: These lines do two things:
My guess is, if looking at https://github.com/woocommerce/facebook-for-woocommerce/blob/0ca17f88786cbb9180875d204058b65daf48d1f8/includes/fbproductfeed.php#L44-L47, neither |
Your guess is right. These can be removed -- probably. these properties are set or accessed. I just didn't want to remove them without testing as I wasn't sure if I had missed anything |
@message-dimke I removed the unused constructor. 28a6844 |
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.
LGTM, thank you, @rawdreeg !
Changes proposed in this Pull Request:
Fixes deprecation warnings with PHP 8.2 and above.
Closes #2635.
phpcs
checks? Please removephpcs:ignore
comments in changed files and fix any issues, or delete if not practical.Detailed test instructions:
Changelog entry