Skip to content

Commit a8def7b

Browse files
authored
Merge pull request #237 from AleksandrCherepanov/update-psr/http-message
change interface to add support of psr/http-message:2.0
2 parents 84db3b4 + a676961 commit a8def7b

File tree

6 files changed

+152
-141
lines changed

6 files changed

+152
-141
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
php: [8.0, 8.1, 8.2]
13+
php: [8.0, 8.1, 8.2, 8.3]
1414
experimental: [false]
1515
include:
1616
- php: 8.2
@@ -26,7 +26,12 @@ jobs:
2626
php-version: ${{ matrix.php }}
2727
coverage: xdebug
2828

29-
- name: Install dependencies with Composer
29+
- name: Install dependencies with Composer (PHP 8.0)
30+
if: ${{ matrix.php == 8.0 }}
31+
run: rm composer.lock && composer update
32+
33+
- name: Install dependencies with Composer (PHP 8.1+)
34+
if: ${{ matrix.php >= 8.1 }}
3035
uses: ramsey/composer-install@v2
3136

3237
- name: Coding standards

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"ext-json": "*",
3939
"ext-libxml": "*",
4040
"psr/http-factory": "^1.0",
41-
"psr/http-message": "^1.1"
41+
"psr/http-message": "^1.1 || ^2.0"
4242
},
4343
"require-dev": {
4444
"adriansuter/php-autoload-override": "^1.4",

0 commit comments

Comments
 (0)