Skip to content

Commit df623a4

Browse files
authored
Merge pull request #107 from mrrobot47/add/php-8.4-support
Add PHP 8.4 support
2 parents 09af1a6 + 80a837d commit df623a4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/PHP.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ 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, 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 and latest.
8585
* ---
8686
* default: latest
8787
* options:
@@ -94,6 +94,7 @@ public function __construct() {
9494
* - 8.1
9595
* - 8.2
9696
* - 8.3
97+
* - 8.4
9798
* - latest
9899
* ---
99100
*
@@ -228,7 +229,7 @@ public function create( $args, $assoc_args ) {
228229
}
229230
$this->site_data['alias_domains'] = substr( $this->site_data['alias_domains'], 0, - 1 );
230231

231-
$supported_php_versions = [ 5.6, 7.0, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 'latest' ];
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' ];
232233
if ( ! in_array( $this->site_data['php_version'], $supported_php_versions ) ) {
233234
$old_version = $this->site_data['php_version'];
234235
$floor = (int) floor( $this->site_data['php_version'] );

0 commit comments

Comments
 (0)