Skip to content

Commit 534a260

Browse files
Use WP-CLI 1.1.0 as the default minimum version
1 parent d4fb888 commit 534a260

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ WP-CLI `packages/local/` directory.
5252
[--require_wp_cli=<version>]
5353
Required WP-CLI version for the package.
5454
---
55-
default: >=0.23.0
55+
default: >=1.1.0
5656
---
5757

5858
[--skip-tests]

features/scaffold-package-readme.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Feature: Scaffold a README.md file for an existing package
1414
And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should exist
1515
And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should contain:
1616
"""
17-
Installing this package requires WP-CLI v0.23.0 or greater. Update to the latest stable release with `wp cli update`.
17+
Installing this package requires WP-CLI v1.1.0 or greater. Update to the latest stable release with `wp cli update`.
1818
"""
1919
And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should contain:
2020
"""
@@ -70,7 +70,7 @@ Feature: Scaffold a README.md file for an existing package
7070
"files": [ "command.php" ]
7171
},
7272
"require": {
73-
"wp-cli/wp-cli": "~0.23.0"
73+
"wp-cli/wp-cli": "~1.1.0"
7474
},
7575
"require-dev": {
7676
"behat/behat": "~2.5"

features/scaffold-package.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Feature: Scaffold WP-CLI commands
3434
And the {PACKAGE_PATH}/local/wp-cli/foo/composer.json file should contain:
3535
"""
3636
"require": {
37-
"wp-cli/wp-cli": ">=0.23.0"
37+
"wp-cli/wp-cli": ">=1.1.0"
3838
},
3939
"""
4040
And the {PACKAGE_PATH}/local/wp-cli/foo/command.php file should exist

inc/ScaffoldPackageCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class ScaffoldPackageCommand {
4444
* [--require_wp_cli=<version>]
4545
* : Required WP-CLI version for the package.
4646
* ---
47-
* default: >=0.23.0
47+
* default: >=1.1.0
4848
* ---
4949
*
5050
* [--skip-tests]

0 commit comments

Comments
 (0)