From 8840b86b9297a4071bc40135efe2cf1bf5969eca Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Thu, 19 Mar 2026 05:42:25 -0700 Subject: [PATCH] Bump supported version for psalm checks (#1059) --- tests/run.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/run.sh b/tests/run.sh index fa15f56..da6eb88 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -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