Skip to content

Commit

Permalink
feat: supports PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
kokororin committed Jan 13, 2024
1 parent 6cb25da commit 070331e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, windows-latest]
php-version: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
php-version: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
name: Test on ${{ matrix.os }} & PHP ${{ matrix.php-version }}
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion src/PHPFmt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export class PHPFmt {
} else {
if (
compare(phpVersion, '5.6.0', '<') ||
compare(phpVersion, '8.4.0, '>')
compare(phpVersion, '8.4.0', '>')
) {
throw new PHPFmtError('PHP version < 5.6 or > 8.4');
}
Expand Down

0 comments on commit 070331e

Please sign in to comment.