Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add feature tests for checking plugin with addon enabled #518
Add feature tests for checking plugin with addon enabled #518
Changes from 25 commits
8b6abd0
697526f
8bc5c7b
06a018d
7f43fdc
4139c9d
a5df7a7
82dc502
9c8e5cb
dd7e4ba
3b24b72
92dabcb
f37a830
3d7d8a3
82cc334
0fbf653
dd7827b
90db569
56eb443
b30b02f
16f1b31
2a8a2a8
714b53a
c07dc62
2ce4dea
9487cfe
10b39a9
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
In principle, this should only be placed if runtime checks are run. If only static checks should be run against a plugin, this isn't needed. But I'm not sure it's reasonably possible to detect that from here.
FWIW at the moment users of WP-CLI have to know about the
--require
portion anyway, so because of that it's probably okay to also expect of them to only include the--require
if they want to run any runtime checks. Something to improve elsewhere, as we've already discussed a few times.Check warning on line 36 in includes/Checker/CLI_Runner.php
Codecov / codecov/patch
includes/Checker/CLI_Runner.php#L36