Skip to content

Commit e8f671b

Browse files
authored
Merge pull request #11697 from kkmuffme/php-85-missing-configs
Add PHP 8.5 (and 8.4) handling where it wasn't added yet
2 parents 866382a + 1197657 commit e8f671b

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/Psalm/Config.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2767,6 +2767,8 @@ public function getPHPVersionFromComposerJson(): ?string
27672767
'8.1',
27682768
'8.2',
27692769
'8.3',
2770+
'8.4',
2771+
'8.5',
27702772
];
27712773

27722774
foreach ($php_versions as $candidate) {

src/Psalm/Internal/CliUtils.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ public static function checkRuntimeRequirements(): void
548548
8_02_27 => '8.2.27',
549549
8_03_16 => '8.3.16',
550550
8_04_03 => '8.4.3',
551+
8_05_00 => '8.5.0',
551552
] as $version => $txt) {
552553
$version_m = $version - ($version % 100);
553554
if ($version_m === $major_minor) {

0 commit comments

Comments
 (0)