From 616b90375ab530d00309ee9977a554ed00758ff5 Mon Sep 17 00:00:00 2001 From: kkmuffme <11071985+kkmuffme@users.noreply.github.com> Date: Sat, 2 Mar 2024 11:30:28 +0100 Subject: [PATCH] fix unrelated Config bug not honoring PHP composer versions 8.2 + 8.3 --- src/Psalm/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Config.php b/src/Psalm/Config.php index a8a08366e43..cb6de53bc76 100644 --- a/src/Psalm/Config.php +++ b/src/Psalm/Config.php @@ -2782,7 +2782,7 @@ public function getPHPVersionFromComposerJson(): ?string $constraint = $version_parser->parseConstraints($php_version); - foreach (['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1'] as $candidate) { + foreach (['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] as $candidate) { if ($constraint->matches(new Constraint('<=', "$candidate.0.0-dev")) || $constraint->matches(new Constraint('<=', "$candidate.999")) ) {