Skip to content

Commit cffa64e

Browse files
authored
Merge pull request #90 from wp-cli/caret-operator
Use `^` caret operator for default WP-CLI version
2 parents 3753f97 + 774a8ef commit cffa64e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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": ">=1.1.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: >=1.1.0
47+
* default: ^1.1.0
4848
* ---
4949
*
5050
* [--skip-tests]

0 commit comments

Comments
 (0)