-
Notifications
You must be signed in to change notification settings - Fork 79
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
Transformers: Migrate from wp_object to items #1165
base: trunk
Are you sure you want to change the base?
Conversation
Non-functional changes that split out the property updates around wp_object => item from #593.
@pfefferle Can you share the why behind these changes? I remember that there were some prohibited variable names we had to deal with when we did all the PHPCS stuff, is this an extension of that? I think it took offense with |
This is because with the new transformers it does not have to be a WordPress object any more. |
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.
If @Menrath is fine, I am too!
I have some doubts about this change and try to explain why, but in order to do so I have give a more general answer, also targeting PR #593. So this is kind of a mixed review, I hope that is O.K. I wonder whether For the transformer, I believe So when I put this together: The transformer classes take care of the The wording I will take some time tomorrow to review the current status of the outbox PR in detail. So far, I’ve only taken a quick look at it. Off topic: I want to point out the naming of the namespace |
Thank you for your thoughtful feedback! We can't use Building on your PHPDoc suggestion, is this problem maybe something that could be "solved" with more verbose docs for these properties? |
Non-functional changes that split out the property updates around wp_object => item from #593.