Releases: wp-cli/scaffold-command
Releases · wp-cli/scaffold-command
Version 2.0.5
- Enhancement: Add PHP 7.3 to Travis CI build matrix [#221]
- Implement CS checking based on the
WP_CLI_CS
ruleset [#220] - PHPCS: fix up the code base [3] - strict comparisons (second try) [#218]
- Rename _s method to underscores and provide alias for backcompat [#217]
- Rename scaffold method to get rid of underscore prefix [#216]
- PHPCS: fix up the code base [5] - multi-line function calls [#215]
- PHPCS: fix up the code base [4] - assignments in conditions [#214]
- Prefix variables in global namespace [#213]
- PHPCS: fix up the code base [3] - strict comparisons [#209]
- PHPCS: fix up the code base [2] - scope modifiers [#208]
- PHPCS: fix up the code base [1] - whitespace & inline control structures [#207]
- QA: don't unnecessarily use array_merge() [#206]
- QA: don't unnecessarily create variables within a function call [#205]
- Move PHP 5.4 tests from
WP_VERSION
latest
to5.1
[#204] - Prevent creating unregisterable blocks due to invalid plugin slug [#203]
- Add
dependencies.yml
to plugin.distignore
[#202] - Add DeployHQ
.deployignore
to ignored files in.distignore
[#201] - Ignore various JavaScript config files in plugin
.distignore
[#200] - Update links to blocks documentation [#199]
Version 2.0.4
- Split up the list of expected files to allow for WP 5.0+ changes [#195]
Version 2.0.3
- Run
docker-php-ext-install
withsudo -E
in CircleCI [#188]
Version 2.0.2
- Add textdomain to block strings and update tests accordingly [#187]
- Use branch for
WP_TEST_TAG
for RC and beta [#186] - Missing text domain in
post_type_extended.mustache
[#184] - Work around Travis CI issue with _s download certificate [#182]
- Fix typo in Travis config [#180]
- Add support for Probot
move
command [#179] - Ignore 'node_modules' in PHPCS XML file [#178]
- Allow for
installation
as well asinstall
[#177] - Fix syntax error in
block-php.mustache
[#176] - Ignore log files [#174]
- Inc 'menu_position' when scaffolding a post type [#173]
- Remove Inflector Class [#172]
Version 2.0.1
Version 2.0.0
- Adapt package for framework v2 [#166]
Version 1.2.0
- Add
function_exists()
check to block PHP template [#147] - Remove
'wp-blocks'
from style dependency [#151] - Add PHPCompatibility sniffs to scaffolded [#154]
- Add escaping for block title [#153]
- Add
--woocommerce
flag toscaffold _s
command [#159] - Exclude string from escape warning [#162]
- Correct
'add_new_item'
label [#163] - Update PHPCS default rule set [#161]
Version 1.1.3
- Fix WPCS in theme-tests generation [#121]
- Use correct default
$WP_TESTS_DIR
on MacOS [#131] - Switch CircleCI template to CircleCI 2.0 [#115]
- Fix
sed -i
option on MacOS [#132] - Exclude
tests/test-sample.php
via thephpunit.xml.dist
file [#134] - Add PHP 7.2 to CI templates [#135]
- Fix theme-specific paths in scaffolded blocks [#137]
- Modify
scaffold block
to createindex.js
[#142]
Version 1.1.2
scaffold block
:- Adds inline documentation based on the Gutenberg Handbook, generates style.css, supports latest
supportsHtml
API, WordPress Coding Standards fixes [#107]. - Updates PHP template to latest recommended method [#111].
- Adds inline documentation based on the Gutenberg Handbook, generates style.css, supports latest
scaffold child-theme
:- Generates WordPress Coding Standards compliant code [#117].
scaffold plugin
:- Generates WordPress Coding Standards compliant code [#120].
scaffold post-type
:- Generates WordPress Coding Standards compliant code [#110].
scaffold taxonomy
:- Generates WordPress Coding Standards compliant code [#112].
scaffold theme-tests
:- Adds theme_root filter to tests/bootstrap.php to make sure theme's functions.php gets loaded [#116].
- Updates scaffolded tests to latest and requires
wp-cli/wp-cli: ^1.5
[#122].