Skip to content

Update cpt and taxonomy scaffold#341

Merged
swissspidy merged 4 commits intowp-cli:mainfrom
ernilambar:update/cpt-scaffold
Mar 31, 2025
Merged

Update cpt and taxonomy scaffold#341
swissspidy merged 4 commits intowp-cli:mainfrom
ernilambar:update/cpt-scaffold

Conversation

@ernilambar
Copy link
Copy Markdown
Member

@ernilambar ernilambar commented Jun 12, 2024

Related to #109

  • Mustache templates are updated based on the phpcs rules we are providing in the scaffold
  • Feature tests are updated based on the changes in the scaffolding methods
  • For function prefixing, slug of plugin/theme is used with - converted to _ underscore.

@ernilambar ernilambar marked this pull request as ready for review June 12, 2024 06:32
@ernilambar ernilambar requested a review from a team as a code owner June 12, 2024 06:32
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2025

Codecov Report

Attention: Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/Scaffold_Command.php 90.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@swissspidy swissspidy added bug command:scaffold-taxonomy Related to 'scaffold taxonomy' command command:scaffold-post-type Related to 'scaffold post-type' command labels Mar 31, 2025
@swissspidy swissspidy added this to the 2.5.0 milestone Mar 31, 2025
@swissspidy swissspidy merged commit d296bb7 into wp-cli:main Mar 31, 2025
41 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug command:scaffold-post-type Related to 'scaffold post-type' command command:scaffold-taxonomy Related to 'scaffold taxonomy' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants