Skip to content

Commit

Permalink
Merge pull request #116 from diggy/wp-cli-1-5-0
Browse files Browse the repository at this point in the history
WP-CLI 1.5.0
  • Loading branch information
diggy committed Feb 15, 2018
2 parents a95705d + 90df051 commit 5f40b48
Show file tree
Hide file tree
Showing 6 changed files with 538 additions and 277 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ branches:

cache:
directories:
- vendor
- $HOME/.composer/cache

env:
Expand Down
4 changes: 2 additions & 2 deletions command.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
WP_CLI::error( sprintf( 'This WP-CLI package requires PHP version %s or higher.', '5.5' ) );
}

if ( version_compare( WP_CLI_VERSION, '1.4.0', '<' ) ) {
WP_CLI::error( sprintf( 'This WP-CLI package requires WP-CLI version %s or higher. Please visit %s', '1.4.0', 'https://wp-cli.org/#updating' ) );
if ( version_compare( WP_CLI_VERSION, '1.5.0', '<' ) ) {
WP_CLI::error( sprintf( 'This WP-CLI package requires WP-CLI version %s or higher. Please visit %s', '1.5.0', 'https://wp-cli.org/#updating' ) );
}

# api, cli
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"files": ["command.php"]
},
"require": {
"wp-cli/wp-cli": "~1.4.0"
"wp-cli/wp-cli": "~1.5.0"
},
"require-dev": {
"behat/behat": "~2.5"
"behat/behat": "2.5.*"
},
"extra": {
"commands": [
Expand Down
Loading

0 comments on commit 5f40b48

Please sign in to comment.