Skip to content

Commit

Permalink
Merge pull request #237 from AleksandrCherepanov/update-psr/http-message
Browse files Browse the repository at this point in the history
change interface to add support of psr/http-message:2.0
  • Loading branch information
akrabat authored Jun 24, 2024
2 parents 84db3b4 + a676961 commit a8def7b
Show file tree
Hide file tree
Showing 6 changed files with 152 additions and 141 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.0, 8.1, 8.2]
php: [8.0, 8.1, 8.2, 8.3]
experimental: [false]
include:
- php: 8.2
Expand All @@ -26,7 +26,12 @@ jobs:
php-version: ${{ matrix.php }}
coverage: xdebug

- name: Install dependencies with Composer
- name: Install dependencies with Composer (PHP 8.0)
if: ${{ matrix.php == 8.0 }}
run: rm composer.lock && composer update

- name: Install dependencies with Composer (PHP 8.1+)
if: ${{ matrix.php >= 8.1 }}
uses: ramsey/composer-install@v2

- name: Coding standards
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"ext-json": "*",
"ext-libxml": "*",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.1"
"psr/http-message": "^1.1 || ^2.0"
},
"require-dev": {
"adriansuter/php-autoload-override": "^1.4",
Expand Down
Loading

0 comments on commit a8def7b

Please sign in to comment.