Skip to content

Add @skipglobalargcheck for conflicting arguments#213

Merged
swissspidy merged 2 commits intomainfrom
fix/skipglobalargcheck
Mar 11, 2026
Merged

Add @skipglobalargcheck for conflicting arguments#213
swissspidy merged 2 commits intomainfrom
fix/skipglobalargcheck

Conversation

@swissspidy
Copy link
Member

This is a companion to wp-cli/wp-cli#6174, which warns when commands override global arguments such as --path and --url.

If done on purpose, @skipglobalargcheck can be used to disable the warning on a per-command basis.

@swissspidy swissspidy requested a review from a team as a code owner March 11, 2026 13:19
Copilot AI review requested due to automatic review settings March 11, 2026 13:19
@swissspidy swissspidy added the scope:distribution Related to distribution label Mar 11, 2026
@github-actions
Copy link
Contributor

Hello! 👋

Thanks for opening this pull request! Please check out our contributing guidelines. We appreciate you taking the initiative to contribute to this project.

Contributing isn't limited to just code. We encourage you to contribute in the way that best fits your abilities, by writing tutorials, giving a demo at your local meetup, helping other users with their support questions, or revising our documentation.

Here are some useful Composer commands to get you started:

  • composer install: Install dependencies.
  • composer test: Run the full test suite.
  • composer phpcs: Check for code style violations.
  • composer phpcbf: Automatically fix code style violations.
  • composer phpunit: Run unit tests.
  • composer behat: Run behavior-driven tests.

To run a single Behat test, you can use the following command:

# Run all tests in a single file
composer behat features/some-feature.feature

# Run only a specific scenario (where 123 is the line number of the "Scenario:" title)
composer behat features/some-feature.feature:123

You can find a list of all available Behat steps in our handbook.

This comment was marked as resolved.

@codecov
Copy link

codecov bot commented Mar 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@gemini-code-assist

This comment was marked as resolved.

@swissspidy swissspidy merged commit 35cab45 into main Mar 11, 2026
60 checks passed
@swissspidy swissspidy deleted the fix/skipglobalargcheck branch March 11, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants