Skip to content

Commit bbd217f

Browse files
authored
Merge pull request #11614 from danog/fix_supported_versions
Fix supported versions regex
2 parents cf26e6d + 151a7a0 commit bbd217f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Psalm/Internal/Analyzer/ProjectAnalyzer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ final class ProjectAnalyzer
190190

191191
private const PHP_VERSION_REGEX = '^(0|[1-9]\d*)\.(0|[1-9]\d*)(?:\..*)?$';
192192

193-
private const PHP_SUPPORTED_VERSIONS_REGEX = '^(5\.[456]|7\.[01234]|8\.[01234])(\..*)?$';
193+
private const PHP_SUPPORTED_VERSIONS_REGEX = '^(5\.[456]|7\.[01234]|8\.[012345])(\..*)?$';
194194

195195
/**
196196
* @param array<ReportOptions> $generated_report_options

0 commit comments

Comments
 (0)