Skip to content

Commit 731f92d

Browse files
author
Takashi Matsuo
authored
Update wp-cli to the latest version (GoogleCloudPlatform#146)
* Update wp-cli to the latest version
1 parent 5bcee05 commit 731f92d

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ matrix:
2424
env: RUN_DEVSERVER_TESTS=true RUN_CS_FIXER=true
2525
- php: 5.6
2626
- php: hhvm
27-
- php: nightly
27+
- php: 7.0
2828

2929
env:
3030
global:

appengine/flexible/cloudsql/app.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@
4545
$octets = ['bad', 'ip']; // IP address will be recorded as bad.ip.
4646
}
4747
// Replace empty chunks with zeros.
48-
$octets = array_map(function ($x) { return $x == '' ? '0' : $x; }, $octets);
48+
$octets = array_map(function ($x) {
49+
return $x == '' ? '0' : $x;
50+
}, $octets);
4951
$user_ip = $octets[0] . $separator . $octets[1];
5052

5153
// Insert a visit into the database.

appengine/flexible/datastore/app.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@
4848
$octets = ['bad', 'ip'];
4949
}
5050
// Replace empty chunks with zeros.
51-
$octets = array_map(function ($x) { return $x == '' ? '0' : $x; }, $octets);
51+
$octets = array_map(function ($x) {
52+
return $x == '' ? '0' : $x;
53+
}, $octets);
5254
$user_ip = $octets[0] . $separator . $octets[1];
5355
// Create an entity to insert into datastore.
5456
$key = new \Google_Service_Datastore_Key(['path' => ['kind' => 'visit']]);

appengine/wordpress/src/files/flexible/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"google/appengine-php-sdk": "^1.9"
44
},
55
"require-dev": {
6-
"wp-cli/wp-cli": "^0.22.0"
6+
"wp-cli/wp-cli": "^0.24.1"
77
}
88
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"require-dev": {
3-
"wp-cli/wp-cli": "^0.22.0"
3+
"wp-cli/wp-cli": "^0.24.1"
44
}
55
}

0 commit comments

Comments
 (0)