Skip to content

Commit

Permalink
Merge pull request #306 from gsteel/php-8.4
Browse files Browse the repository at this point in the history
Add support for PHP 8.4 and set current stable to 8.1
  • Loading branch information
Ocramius authored Jul 30, 2024
2 parents 0a9b580 + c0e5951 commit 38e146b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 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 Expand Up @@ -48,7 +48,7 @@ describe('config/app', () => {
codeChecks : true,
docLinting : true,
versions : [ '8.1' ],
stablePhpVersion : '8.0',
stablePhpVersion : '8.1',
minimumPhpVersion : '8.1',
latestPhpVersion : '8.1',
lockedDependenciesExists : false,
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 38e146b

Please sign in to comment.