From 1e1304024dfb7a522a3901d9bf951d77551177dd Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 9 Apr 2025 11:05:44 +0200 Subject: [PATCH] fix(psalm): Run matrix psalm on the lowest applicable PHP version As we might not be able to upgrade psalm 6 and 8.4 e.g. complains when using Psalm 5.26 about missing nullable typehints Signed-off-by: Joas Schilling --- workflow-templates/psalm-matrix.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow-templates/psalm-matrix.yml b/workflow-templates/psalm-matrix.yml index 033a6444..d9748d5b 100644 --- a/workflow-templates/psalm-matrix.yml +++ b/workflow-templates/psalm-matrix.yml @@ -50,10 +50,10 @@ jobs: with: persist-credentials: false - - name: Set up php${{ matrix.php-versions }} + - name: Set up php${{ matrix.php-min }} uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0 with: - php-version: ${{ matrix.php-versions }} + php-version: ${{ matrix.php-min }} extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite coverage: none ini-file: development