Skip to content

Commit f91ddb1

Browse files
committed
Merge branch 'develop' for v1.10.0
2 parents c85b623 + 215f852 commit f91ddb1

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/PHP.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ public function __construct() {
8181
* : Create separate db container instead of using global db.
8282
*
8383
* [--php=<php-version>]
84-
* : PHP version for site. Currently only supports PHP 5.6, 7.0, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 and latest.
84+
* : PHP version for site. Currently only supports PHP 5.6, 7.0, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5, and latest.
8585
* ---
86-
* default: 8.3
86+
* default: 8.4
8787
* options:
8888
* - 5.6
8989
* - 7.0
@@ -95,6 +95,7 @@ public function __construct() {
9595
* - 8.2
9696
* - 8.3
9797
* - 8.4
98+
* - 8.5
9899
* - latest
99100
* ---
100101
*
@@ -229,7 +230,7 @@ public function create( $args, $assoc_args ) {
229230
}
230231
$this->site_data['alias_domains'] = substr( $this->site_data['alias_domains'], 0, - 1 );
231232

232-
$supported_php_versions = [ 5.6, 7.0, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 'latest' ];
233+
$supported_php_versions = [ 5.6, 7.0, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5, 'latest' ];
233234
if ( ! in_array( $this->site_data['php_version'], $supported_php_versions ) ) {
234235
$old_version = $this->site_data['php_version'];
235236
$floor = (int) floor( $this->site_data['php_version'] );
@@ -239,7 +240,7 @@ public function create( $args, $assoc_args ) {
239240
$this->site_data['php_version'] = 7.4;
240241
$old_version .= ' yet';
241242
} elseif ( 8 === $floor ) {
242-
$this->site_data['php_version'] = 8.3;
243+
$this->site_data['php_version'] = 8.4;
243244
$old_version .= ' yet';
244245
} else {
245246
EE::error( 'Unsupported PHP version: ' . $this->site_data['php_version'] );

src/Site_PHP_Docker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function generate_docker_compose_yml( array $filters = [], $volumes ) {
6565
$db['networks'] = $network_default;
6666
}
6767
// PHP configuration.
68-
$php_image_key = ( 'latest' === $filters['php_version'] ? 'easyengine/php8.3' : 'easyengine/php' . $filters['php_version'] );
68+
$php_image_key = ( 'latest' === $filters['php_version'] ? 'easyengine/php8.4' : 'easyengine/php' . $filters['php_version'] );
6969

7070
$php['service_name'] = [ 'name' => 'php' ];
7171
$php['image'] = [ 'name' => $php_image_key . ':' . $img_versions[ $php_image_key ] ];

0 commit comments

Comments
 (0)