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")) ) {