Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions features/scaffold-package-readme.feature
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Feature: Scaffold a README.md file for an existing package
And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should exist
And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should contain:
"""
Installing this package requires WP-CLI v2.12 or greater. Update to the latest stable release with `wp cli update`.
Installing this package requires WP-CLI v2.13 or greater. Update to the latest stable release with `wp cli update`.
"""
And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should contain:
"""
Expand Down Expand Up @@ -76,7 +76,7 @@ Feature: Scaffold a README.md file for an existing package
And the {PACKAGE_PATH}/local/wp-cli/custom-branch/README.md file should exist
And the {PACKAGE_PATH}/local/wp-cli/custom-branch/README.md file should contain:
"""
Installing this package requires WP-CLI v2.12 or greater. Update to the latest stable release with `wp cli update`.
Installing this package requires WP-CLI v2.13 or greater. Update to the latest stable release with `wp cli update`.
"""
And the {PACKAGE_PATH}/local/wp-cli/custom-branch/README.md file should contain:
"""
Expand Down Expand Up @@ -152,7 +152,7 @@ Feature: Scaffold a README.md file for an existing package
"files": [ "command.php" ]
},
"require": {
"wp-cli/wp-cli": "^2.12"
"wp-cli/wp-cli": "^2.13"
Comment thread
swissspidy marked this conversation as resolved.
},
"require-dev": {
"wp-cli/wp-cli-tests": "^5.0.0"
Expand Down Expand Up @@ -367,7 +367,7 @@ Feature: Scaffold a README.md file for an existing package
"files": [ "command.php" ]
},
"require": {
"wp-cli/wp-cli": "^2.12"
"wp-cli/wp-cli": "^2.13"
},
"require-dev": {
"wp-cli/wp-cli-tests": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion features/scaffold-package.feature
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Feature: Scaffold WP-CLI commands
And the {PACKAGE_PATH}/local/wp-cli/foo/composer.json file should contain:
"""
"require": {
"wp-cli/wp-cli": "^2.12"
"wp-cli/wp-cli": "^2.13"
},
"""
And the {PACKAGE_PATH}/local/wp-cli/foo/hello-world-command.php file should exist
Expand Down
2 changes: 1 addition & 1 deletion src/ScaffoldPackageCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class ScaffoldPackageCommand {
* [--require_wp_cli=<version>]
* : Required WP-CLI version for the package.
* ---
* default: ^2.12
* default: ^2.13
* ---
Comment thread
swissspidy marked this conversation as resolved.
*
* [--require_wp_cli_tests=<version>]
Expand Down
Loading