Skip to content

Commit

Permalink
Add support for PHP 8.4 and set current stable to 8.1
Browse files Browse the repository at this point in the history
Signed-off-by: George Steel <[email protected]>
  • Loading branch information
gsteel committed Jul 30, 2024
1 parent 0a9b580 commit ed8a77c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/config/app.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ describe('config/app', () => {
${'8.1'} | ${[ '8.1' ]}
${'8.1.0'} | ${[ '8.1' ]}
${'8.1.12'} | ${[ '8.1' ]}
${'^8.1'} | ${[ '8.1', '8.2', '8.3' ]}
${'^8.1.0'} | ${[ '8.1', '8.2', '8.3' ]}
${'^8.1.12'} | ${[ '8.1', '8.2', '8.3' ]}
${'^8.1'} | ${[ '8.1', '8.2', '8.3', '8.4' ]}
${'^8.1.0'} | ${[ '8.1', '8.2', '8.3', '8.4' ]}
${'^8.1.12'} | ${[ '8.1', '8.2', '8.3', '8.4' ]}
${'~8.1'} | ${[ '8.1' ]}
${'~8.1.0'} | ${[ '8.1' ]}
${'~8.1.12'} | ${[ '8.1' ]}
Expand Down
4 changes: 3 additions & 1 deletion src/config/php.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ export const PHP_80 = '8.0';
export const PHP_81 = '8.1';
export const PHP_82 = '8.2';
export const PHP_83 = '8.3';
export const PHP_84 = '8.4';

export const CURRENT_STABLE = PHP_80;
export const CURRENT_STABLE = PHP_81;
export const CONTAINER_DEFAULT_PHP_VERSION = '@default';

/**
Expand All @@ -27,6 +28,7 @@ export const INSTALLABLE_VERSIONS = [
PHP_81,
PHP_82,
PHP_83,
PHP_84,
CONTAINER_DEFAULT_PHP_VERSION,
] as const;

Expand Down

0 comments on commit ed8a77c

Please sign in to comment.