Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ jobs:
unit-tests:
name: PHPUnit (PHP ${{ matrix.php }} with ${{ matrix.prefer-versions }} lib versions)
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.php == '8.4' }}
continue-on-error: ${{ matrix.php == '8.5' }}

strategy:
fail-fast: false
matrix:
operating-system: ['ubuntu-latest']
php:
- '8.5'
- '8.4'
- '8.3'
- '8.2'
Expand Down Expand Up @@ -52,12 +53,12 @@ jobs:
with:
composer-options: --prefer-lowest

- name: "Install Composer dependencies (PHP <= 8.3)"
if: ${{ matrix.prefer-versions == 'latest' && matrix.php <= '8.3' }}
- name: "Install Composer dependencies (PHP <= 8.4)"
if: ${{ matrix.prefer-versions == 'latest' && matrix.php <= '8.4' }}
uses: "ramsey/composer-install@v2"

- name: "Install Composer dependencies (PHP 8.4)"
if: ${{ matrix.php >= '8.4' }}
- name: "Install Composer dependencies (PHP 8.5)"
if: ${{ matrix.php == '8.5' }}
uses: "ramsey/composer-install@v2"
with:
composer-options: --ignore-platform-reqs
Expand All @@ -73,7 +74,7 @@ jobs:
fail-fast: false
matrix:
operating-system: ["ubuntu-latest"]
php: ["8.3"]
php: ["8.4"]

steps:
- name: Checkout
Expand Down Expand Up @@ -104,7 +105,7 @@ jobs:
fail-fast: false
matrix:
operating-system: ["ubuntu-latest"]
php: ["8.3"]
php: ["8.4"]

steps:
- name: Checkout
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased](https://github.com/Art4/WP-Requests-PSR18-Adapter/compare/1.2.0...HEAD)

### Added

- Add support for PHP 8.4

## [1.2.0 - 2023-11-28](https://github.com/Art4/WP-Requests-PSR18-Adapter/compare/1.1.0...1.2.0)

### Added
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
],
"require": {
"php": "^7.2 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
"php": "^7.2 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.1 || ^2.0",
Expand Down
Loading