Skip to content

Commit 12479e5

Browse files
committed
Updated CI tests for PHP 8.5 psalm issues.
1 parent d386ea8 commit 12479e5

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,22 +73,21 @@ jobs:
7373
key: ${{ matrix.os }}-composer-${{ hashFiles('**/composer.json') }}-${{ matrix.dependency }}-
7474
restore-keys: ${{ matrix.os }}-composer-${{ matrix.dependency }}-
7575

76-
- name: Install dependencies PHP < 8.4
77-
if: matrix.php != '8.4'
76+
- name: Install dependencies PHP < 8.5
77+
if: matrix.php != '8.5'
7878
run: composer update --prefer-${{ matrix.dependency }} --prefer-dist --no-interaction
7979

80-
- name: Execute tests PHP < 8.4
81-
if: matrix.php != '8.4'
80+
- name: Execute tests PHP < 8.5
81+
if: matrix.php != '8.5'
8282
run: composer test
8383

84-
# This is a temporary workaround until vimeo/psalm is updated to support PHP 8.4.
85-
# See https://github.com/vimeo/psalm/issues/11107
86-
- name: Install dependencies PHP 8.4
87-
if: matrix.php == '8.4'
84+
# This is a temporary workaround until vimeo/psalm is updated to support PHP 8.5.
85+
- name: Install dependencies PHP 8.5
86+
if: matrix.php == '8.5'
8887
run: composer update --prefer-${{ matrix.dependency }} --prefer-dist --no-interaction --ignore-platform-reqs
8988

90-
- name: Execute tests PHP 8.4
91-
if: matrix.php == '8.4'
89+
- name: Execute tests PHP 8.5
90+
if: matrix.php == '8.5'
9291
run: |
9392
./vendor/bin/phpcs --standard=PSR2 ./src ./tests
9493
./vendor/bin/phpunit --coverage-clover build/logs/clover.xml

0 commit comments

Comments
 (0)