Skip to content

Commit f32a8d3

Browse files
committed
feat(PHP): update default PHP version to 8.3
1 parent f3ed1e7 commit f32a8d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/PHP.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function __construct() {
8383
* [--php=<php-version>]
8484
* : 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.
8585
* ---
86-
* default: latest
86+
* default: 8.3
8787
* options:
8888
* - 5.6
8989
* - 7.0
@@ -239,7 +239,7 @@ public function create( $args, $assoc_args ) {
239239
$this->site_data['php_version'] = 7.4;
240240
$old_version .= ' yet';
241241
} elseif ( 8 === $floor ) {
242-
$this->site_data['php_version'] = 8.2;
242+
$this->site_data['php_version'] = 8.3;
243243
$old_version .= ' yet';
244244
} else {
245245
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.2' : 'easyengine/php' . $filters['php_version'] );
68+
$php_image_key = ( 'latest' === $filters['php_version'] ? 'easyengine/php8.3' : '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)