From 6cb25da48589c441e31f9717e195dd8a9214f561 Mon Sep 17 00:00:00 2001 From: SenPai Date: Sat, 13 Jan 2024 15:56:05 +0330 Subject: [PATCH] support PHP 8.3.1 (#136) * support PHP 8.3.1 * Update PHPFmt.ts --- src/PHPFmt.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PHPFmt.ts b/src/PHPFmt.ts index 5f22121..d10a349 100644 --- a/src/PHPFmt.ts +++ b/src/PHPFmt.ts @@ -222,9 +222,9 @@ export class PHPFmt { } else { if ( compare(phpVersion, '5.6.0', '<') || - compare(phpVersion, '8.3.0', '>') + compare(phpVersion, '8.4.0, '>') ) { - throw new PHPFmtError('PHP version < 5.6 or > 8.3'); + throw new PHPFmtError('PHP version < 5.6 or > 8.4'); } } } catch (err) {