File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -390,9 +390,9 @@ Disable coverage for these reasons:
390390# ### `php-version` (optional)
391391
392392- Specify the PHP version you want to set up.
393- - Accepts a `string`. For example `'8.0'`.
394- - Accepts `latest` to set up the latest stable PHP version.
393+ - Accepts a `string`. For example `'8.3'`.
395394- Accepts `lowest` to set up the lowest supported PHP version.
395+ - Accepts `highest` or `latest` to set up the latest stable PHP version.
396396- Accepts `nightly` to set up a nightly build from the master branch of PHP.
397397- Accepts the format `d.x`, where `d` is the major version. For example `5.x`, `7.x` and `8.x`.
398398- See [PHP support](#tada-php-support) for the supported PHP versions.
Original file line number Diff line number Diff line change @@ -1156,7 +1156,7 @@ async function getManifestURL() {
11561156exports . getManifestURL = getManifestURL ;
11571157async function parseVersion ( version ) {
11581158 switch ( true ) {
1159- case / ^ ( l a t e s t | l o w e s t | n i g h t l y | \d + \. x ) $ / . test ( version ) :
1159+ case / ^ ( l a t e s t | l o w e s t | h i g h e s t | n i g h t l y | \d + \. x ) $ / . test ( version ) :
11601160 return JSON . parse ( ( await fetch . fetch ( await getManifestURL ( ) ) ) [ 'data' ] ) [ version ] ;
11611161 default :
11621162 switch ( true ) {
Original file line number Diff line number Diff line change 11{
22 "lowest" : " 8.1" ,
3+ "highest" : " 8.3" ,
34 "latest" : " 8.3" ,
45 "nightly" : " 8.4" ,
56 "5.x" : " 5.6" ,
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export async function getManifestURL(): Promise<string> {
5959 */
6060export async function parseVersion ( version : string ) : Promise < string > {
6161 switch ( true ) {
62- case / ^ ( l a t e s t | l o w e s t | n i g h t l y | \d + \. x ) $ / . test ( version ) :
62+ case / ^ ( l a t e s t | l o w e s t | h i g h e s t | n i g h t l y | \d + \. x ) $ / . test ( version ) :
6363 return JSON . parse ( ( await fetch . fetch ( await getManifestURL ( ) ) ) [ 'data' ] ) [
6464 version
6565 ] ;
You can’t perform that action at this time.
0 commit comments