Skip to content

Commit f2d45c2

Browse files
committed
fix: remove php 8.4 check
1 parent 382a313 commit f2d45c2

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,5 +702,5 @@
702702
"mem": "^8.1.1",
703703
"phpfmt": "^0.0.8"
704704
},
705-
"packageManager": "pnpm@9.11.0"
705+
"packageManager": "pnpm@9.14.1"
706706
}

src/PHPFmt.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,8 @@ export class PHPFmt {
220220
throw new PHPFmtError('PHP version < 5.6 or > 8.0');
221221
}
222222
} else {
223-
if (
224-
compare(phpVersion, '5.6.0', '<') ||
225-
compare(phpVersion, '8.4.0', '>')
226-
) {
227-
throw new PHPFmtError('PHP version < 5.6 or > 8.4');
223+
if (compare(phpVersion, '5.6.0', '<')) {
224+
throw new PHPFmtError('PHP version < 5.6');
228225
}
229226
}
230227
} catch (err) {

0 commit comments

Comments
 (0)