Skip to content

Update custom plugin guide CI references#640

Merged
swissspidy merged 2 commits into
wp-cli:mainfrom
ekamran:docs/update-custom-plugin-ci-guide
May 24, 2026
Merged

Update custom plugin guide CI references#640
swissspidy merged 2 commits into
wp-cli:mainfrom
ekamran:docs/update-custom-plugin-ci-guide

Conversation

@ekamran
Copy link
Copy Markdown
Contributor

@ekamran ekamran commented May 23, 2026

Summary

Updates the custom plugin guide so its generated file list matches the current wp scaffold plugin documentation.

Changes

  • Replace the stale .travis.yml reference with .circleci/config.yml.
  • Update the CI description from Travis CI to CircleCI.
  • Keep the existing --ci=<provider> guidance for alternate CI providers.

Verification

  • Confirmed wp scaffold plugin docs list .circleci/config.yml as the default generated CI configuration.
  • Confirmed wp-cli/scaffold-command documents CircleCI as the default CI provider.
  • Ran git diff --check.
  • Ran composer lint.
  • Ran composer phpcs.
  • Ran composer phpunit.
  • Ran composer behat (skipped: no behat.yml).

Note: composer phpstan currently fails on existing type errors in bin/Handbook_Command.php unrelated to this documentation-only change.

@ekamran ekamran requested a review from a team as a code owner May 23, 2026 15:55
@swissspidy
Copy link
Copy Markdown
Member

We could make this more future proof by just listing some of the generated files as an example, then we don't have to update this page every time the command changes.

@ekamran
Copy link
Copy Markdown
Contributor Author

ekamran commented May 24, 2026

We could make this more future proof by just listing some of the generated files as an example, then we don't have to update this page every time the command changes.

Good point. I updated the wording to avoid presenting the generated files as an exact full list.

Instead, the guide now lists a few example files with “files such as” and describes the test/CI output more generally. That should make the page less likely to go stale if wp scaffold plugin changes the exact generated files or default CI provider again.

@swissspidy swissspidy merged commit 46726db into wp-cli:main May 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants