Skip to content

Commit 2897ba8

Browse files
committed
Run static analysis on PHP 8.3 instead of 8.0
The current psalm.phar version doesn't support PHP 8.4+. Running static analysis on PHP 8.3 ensures compatibility with the current Psalm binary while still testing against a modern PHP version. This is a temporary solution until psalm.phar is updated to version 7.0+ which supports PHP 8.4 and 8.5.
1 parent 2c9dcec commit 2897ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: PHP_CS_FIXER_IGNORE_ENV=1 ./bin/php-cs-fixer fix --dry-run --diff
4848

4949
- name: Static Analysis
50-
if: ${{ matrix.php-versions == '8.0' }}
50+
if: ${{ matrix.php-versions == '8.3' }}
5151
run: ./bin/psalm.phar --no-cache
5252

5353
- name: Test

0 commit comments

Comments
 (0)