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