-
Notifications
You must be signed in to change notification settings - Fork 22
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
Adapt package structure #165
Conversation
@schlessera What do you think about punting on the namespace change, and simply applying the safe bits? |
@schlessera @danielbachhuber Apologies for the noise here, but I thought I'd pick this up and help fix all the failing tests. This is now ready for review! I don't mind the namespace change, I think it should be fine. Just noting that this handbook page needs updating after merge: https://github.com/wp-cli/handbook/blob/7c792d2a11448dab77f23d8055f82553e6dff2a6/doctor-customize-config.md |
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.
I'm not really a fan of this pull request as it currently is. It will cause a lot of breakage for existing users, for very little real-world benefit.
If we're committed to renaming the classes, then I think we should add backcompat for the existing classes (and make sure there's backcompat for the doctor.yml
file).
Makes sense. Btw, any idea why this one test is failing on 6.2? |
It looks like |
Yes, that I realized. That‘s why I did all these commits to fix tests. Just thought it was weird that it failed for that particular job. But I can adapt the test 👍 |
OK looks like |
@swissspidy Lovely. Maybe it's not actually a thing! For |
Thanks, yeah I‘ll try that again. Amd then I guess I‘ll review all existing usage of Any idea on the WP 3.7 test? Can‘t run them locally as I don‘t have old PHP installed. |
Nothing immediately obvious, no. |
Now there are some random errors from extension command as well, like I'll leave this PR be for now, maybe someone else wants to pick it up. |
@ernilambar Since you worked on this repo recently, maybe this PR is something you'd be interested in bringing over the finish line? |
Sure. I will work on it. |
Closing in favor of #194 |
This PR makes changes to the package structure to fit the one from the bundled plugins:
WP_CLI\Doctor
as the namespace rootwp-cli-tests
framework with Behat v3