From a6a7a8a06da3f99061bb26f0977eb5bce4e1f0c2 Mon Sep 17 00:00:00 2001 From: Timo Schinkel Date: Thu, 23 Nov 2023 12:48:13 +0100 Subject: [PATCH 1/3] Run inspections on PHP 8.3 --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index ffef01e..b144fd7 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] + php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] name: PHP ${{ matrix.php-versions }} steps: From a5920c2713a759a497c15434a1ef8a76c02899e4 Mon Sep 17 00:00:00 2001 From: Timo Schinkel Date: Thu, 23 Nov 2023 13:02:44 +0100 Subject: [PATCH 2/3] Update dependencies, drop support for PHP < 8.0 --- .github/workflows/pull_request.yml | 2 +- CHANGELOG.md | 4 ++++ composer.json | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index b144fd7..9aacc65 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] + php-versions: ['8.0', '8.1', '8.2', '8.3'] name: PHP ${{ matrix.php-versions }} steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 508a8f8..d07fad1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] +### Removed +- Support for PHP versions < 8.0 + ## [1.1.0] - 2020-11-26 ### Added - Support for PHP 8 diff --git a/composer.json b/composer.json index bb5dd31..cbf8e83 100644 --- a/composer.json +++ b/composer.json @@ -4,13 +4,13 @@ "type": "library", "license": "MIT", "require": { - "php": "^7.2 || ^8.0", + "php": "^8.0", "psr/http-client": "^1.0", "psr/http-message": "^1.0" }, "require-dev": { - "phpspec/prophecy": "^1.12", - "phpunit/phpunit": "^8.0 || ^9.0", + "phpspec/prophecy": "^1.17", + "phpunit/phpunit": "^9.0 || ^10.0", "squizlabs/php_codesniffer": "^3.5" }, "autoload": { From 52ce6cd443bdd378d41aef773ec2cad937479d7b Mon Sep 17 00:00:00 2001 From: Timo Schinkel Date: Mon, 11 Dec 2023 14:06:24 +0100 Subject: [PATCH 3/3] Add support for `psr/http-message` 2.0 --- CHANGELOG.md | 5 ++++- composer.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d07fad1..d662247 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [1.2.0] - 2023-12-20 ### Removed - Support for PHP versions < 8.0 +### Changed +- Dependency on `psr/http-message` now is `^1.0 || ^2.0` + ## [1.1.0] - 2020-11-26 ### Added - Support for PHP 8 diff --git a/composer.json b/composer.json index cbf8e83..5594f58 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "require": { "php": "^8.0", "psr/http-client": "^1.0", - "psr/http-message": "^1.0" + "psr/http-message": "^1.0 || ^2.0" }, "require-dev": { "phpspec/prophecy": "^1.17",