When running Psalm 6.5.0 on Debian 12 (bookworm) with PHP 8.2.26-1~deb12u1:
Psalm has detected issues in your platform:
Psalm requires a PHP version ">= 8.2.27". You are running 8.2.26.
This was a surprise, as the requirement is not specified by Psalm's composer.json.
Please revert the internal version check in CliUtils::checkRuntimeRequirements,
or specify the proper requirement(s) in composer.json so Composer will be able to select a lower Psalm 6.x version on Debian 12.
Please note that Debian backports security fixes from the latest PHP releases into their stable PHP version (currently 8.2.26).