diff --git a/README.md b/README.md index 81d3fa2..c710519 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ WP-CLI `packages/local/` directory. [--require_wp_cli=] Required WP-CLI version for the package. --- - default: ^2.13 + default: ^3.0 --- [--require_wp_cli_tests=] diff --git a/features/scaffold-package-readme.feature b/features/scaffold-package-readme.feature index 86825be..9d23156 100644 --- a/features/scaffold-package-readme.feature +++ b/features/scaffold-package-readme.feature @@ -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.13 or greater. Update to the latest stable release with `wp cli update`. + Installing this package requires WP-CLI v3.0 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: """ @@ -80,7 +80,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.13 or greater. Update to the latest stable release with `wp cli update`. + Installing this package requires WP-CLI v3.0 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: """ @@ -164,7 +164,7 @@ Feature: Scaffold a README.md file for an existing package "files": [ "command.php" ] }, "require": { - "wp-cli/wp-cli": "^2.13" + "wp-cli/wp-cli": "^3.0" }, "require-dev": { "wp-cli/wp-cli-tests": "^5.0.0" @@ -403,7 +403,7 @@ Feature: Scaffold a README.md file for an existing package "files": [ "command.php" ] }, "require": { - "wp-cli/wp-cli": "^2.13" + "wp-cli/wp-cli": "^3.0" }, "require-dev": { "wp-cli/wp-cli-tests": "^5.0.0" @@ -559,7 +559,7 @@ Feature: Scaffold a README.md file for an existing package "description": "A test package.", "license": "MIT", "require": { - "wp-cli/wp-cli": "^2.13" + "wp-cli/wp-cli": "^3.0" } } """ @@ -585,7 +585,7 @@ Feature: Scaffold a README.md file for an existing package "description": "A test package.", "license": "MIT", "require": { - "wp-cli/wp-cli": "^2.13" + "wp-cli/wp-cli": "^3.0" } } """ diff --git a/features/scaffold-package.feature b/features/scaffold-package.feature index 7d20125..1020217 100644 --- a/features/scaffold-package.feature +++ b/features/scaffold-package.feature @@ -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.13" + "wp-cli/wp-cli": "^3.0" }, """ And the {PACKAGE_PATH}/local/wp-cli/foo/hello-world-command.php file should exist diff --git a/src/ScaffoldPackageCommand.php b/src/ScaffoldPackageCommand.php index b6957e0..e9cb4e8 100644 --- a/src/ScaffoldPackageCommand.php +++ b/src/ScaffoldPackageCommand.php @@ -70,7 +70,7 @@ class ScaffoldPackageCommand { * [--require_wp_cli=] * : Required WP-CLI version for the package. * --- - * default: ^2.13 + * default: ^3.0 * --- * * [--require_wp_cli_tests=]