-
Notifications
You must be signed in to change notification settings - Fork 845
Fixed variable name to the defined one. #13083
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
Conversation
As declaraion is not defined, it generates a lot of notices and does not work correctly. I'm guessing the invociation should check for old_declaration.
This is an automated check which relies on |
zinigor
left a comment
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.
Can confirm that this fixes the warning, thank you!
As declaraion is not defined, it generates a lot of notices and does not work correctly. I'm guessing the invociation should check for old_declaration.
* Add initial changelog / testing list changes for 7.6 * Update stable tag to 7.5.3 * changelog: add #12957 * Changelog: add #12932 * Changelog: add #12867 * Changelog: add #12823 * changelog: add #12969 * changelog: add #13012 * changelog: add #12974 * Changelog: add #13059 * Changelog: add #13079 * Changelog: add #12924 * changelog: add #12954 * Changelog: add #12959 * Changelog: add #12977 * Changelog: add #12830 * Changelog: add #12926 * Changelog: add #12958 * Changelog: add #12999 * Changelog: add #13077 * Changelog: add #13083 * Changelog: add #13087 * Changelog: add #13110 * Changelog: add #13116 * Changelog: add #13117 * Changelog: add #12821 * Changelog: add #13120 * changelog: add #13139 * Changelog: add #13143 * Changelog: add #13147 * Testing list: add section about sync
* Add initial changelog / testing list changes for 7.6 * Update stable tag to 7.5.3 * changelog: add #12957 * Changelog: add #12932 * Changelog: add #12867 * Changelog: add #12823 * changelog: add #12969 * changelog: add #13012 * changelog: add #12974 * Changelog: add #13059 * Changelog: add #13079 * Changelog: add #12924 * changelog: add #12954 * Changelog: add #12959 * Changelog: add #12977 * Changelog: add #12830 * Changelog: add #12926 * Changelog: add #12958 * Changelog: add #12999 * Changelog: add #13077 * Changelog: add #13083 * Changelog: add #13087 * Changelog: add #13110 * Changelog: add #13116 * Changelog: add #13117 * Changelog: add #12821 * Changelog: add #13120 * changelog: add #13139 * Changelog: add #13143 * Changelog: add #13147 * Testing list: add section about sync
As
Class_Moved::$declaraionis not defined, it generates a lot of notices and does not work correctly. I'm guessing the invociation should check for$old_declaration.Changes proposed in this Pull Request:
Running the Analyzer tool, I was getting a lot of
Notice: Undefined property: Automattic\Jetpack\Analyzer\Differences\Class_Moved::$declaration in .../jetpack/packages/analyzer/src/Differences/Class_Moved.php on line 32. My guess is that the check should happen againstold_declaration.Testing instructions:
When running the compat test for WC core, I noticed this problem. Details of setup along with scripts to run are available in this p2 post: pb22l9-1D-p2
Proposed changelog entry for your changes:
Class_Moved.