Skip to content

Commit ac2ed8b

Browse files
committed
deps: require PHP ^8.2
1 parent 82677af commit ac2ed8b

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

Diff for: .github/workflows/ci.yml

+4-9
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
- windows-latest
1818

1919
php:
20-
- "7.3"
21-
- "7.4"
22-
- "8.0"
20+
- "8.2"
21+
- "8.3"
22+
- "8.4"
2323

2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v2
26+
uses: actions/checkout@v4
2727

2828
- name: Install PHP with extensions
2929
uses: shivammathur/setup-php@v2
@@ -32,12 +32,7 @@ jobs:
3232
extensions: dom, json, mbstring
3333
ini-values: assert.exception=1, zend.assertions=1
3434

35-
- name: Install composer dependencies ignoring platform requirements
36-
if: matrix.php == '8.0'
37-
run: composer install --no-ansi --no-interaction --no-progress --no-suggest --ignore-platform-reqs
38-
3935
- name: Install composer dependencies
40-
if: matrix.php != '8.0'
4136
run: composer update --no-ansi --no-interaction --no-progress --no-suggest
4237

4338
- name: Run tests with phpunit

Diff for: composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
}
1515
],
1616
"require": {
17-
"php": "^7.3 || ^8.0"
17+
"php": "^8.2"
1818
},
1919
"require-dev": {
20-
"phpunit/phpunit": "^9.0",
21-
"symfony/phpunit-bridge": "^4.0"
20+
"phpunit/phpunit": "^11.5.6",
21+
"symfony/phpunit-bridge": "^v7.2.0"
2222
},
2323
"autoload": {
2424
"psr-4": {

0 commit comments

Comments
 (0)