Bump supported version for psalm checks (#1059)

This commit is contained in:
Zach Borboa
2026-03-19 05:42:25 -07:00
committed by GitHub
parent 85b4512455
commit 8840b86b92
+5 -2
View File
@@ -22,9 +22,12 @@ if [[ "${CI}" == "true" ]]; then
# Error: Your requirements could not be resolved to an installable set of packages.
if "${CI_PHP_FUTURE_RELEASE}"; then
install_psalm=false
# Skip attempting to install psalm on PHP version 8.5 and higher as psalm
# Skip attempting to install psalm on PHP version 8.6 and higher as psalm
# does not yet support these versions.
elif [[ $(echo "${CI_PHP_VERSION} >= 8.5" | bc) -eq 1 ]]; then
# List of supported PHP versions for psalm can be found here under the
# require.php key in composer.json file:
# https://github.com/vimeo/psalm/blob/master/composer.json
elif [[ $(echo "${CI_PHP_VERSION} >= 8.6" | bc) -eq 1 ]]; then
install_psalm=false
else
install_psalm=true