Skip to content

Commit dc88552

Browse files
committed
feat: allow symfony 8
run tests against PHP 8.5
1 parent 3c28c4f commit dc88552

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/run-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ubuntu-latest, windows-latest]
12-
php: [8.4, 8.3, 8.2, 8.1]
12+
php: [8.5, 8.4, 8.3, 8.2, 8.1]
1313
stability: [prefer-lowest, prefer-stable]
1414

1515
name: P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
1616

1717
steps:
1818
- name: Checkout code
1919
uses: actions/checkout@v5
20-
20+
2121
- uses: oven-sh/setup-bun@v2
2222
with:
2323
bun-version: latest
@@ -35,9 +35,9 @@ jobs:
3535
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
3636
- name: Install dependencies
3737
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
38-
38+
3939
- name: Install dependencies
4040
run: bun install
41-
41+
4242
- name: Execute tests
4343
run: vendor/bin/phpunit

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"ext-libxml": "*",
2727
"composer-runtime-api": "^2.0",
2828
"phpunit/phpunit": "^10.0|^11.0|^12.0",
29-
"symfony/property-access": "^5.2|^6.2|^7.0",
30-
"symfony/serializer": "^5.2|^6.2|^7.0",
31-
"symfony/yaml": "^5.2|^6.2|^7.0"
29+
"symfony/property-access": "^5.2|^6.2|^7.0||^8.0",
30+
"symfony/serializer": "^5.2|^6.2|^7.0||^8.0",
31+
"symfony/yaml": "^5.2|^6.2|^7.0||^8.0"
3232
},
3333
"require-dev": {
3434
"spatie/pixelmatch-php": "dev-main",
@@ -54,7 +54,7 @@
5454
"sort-packages": true
5555
},
5656
"minimum-stability": "dev",
57-
"prefer-stable": true,
57+
"prefer-stable": false,
5858
"extra": {
5959
"branch-alias": {
6060
"dev-v5": "5.0-dev"

0 commit comments

Comments
 (0)