From 484f04ef083087fc6a8a7348225dab191663168d Mon Sep 17 00:00:00 2001 From: Baptiste Langlade Date: Sat, 23 Sep 2023 11:00:04 +0200 Subject: [PATCH 1/5] test against php 8.3 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb79743..fa48d86 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest] - php-version: ['8.1', '8.2'] + php-version: ['8.1', '8.2', '8.3'] dependencies: ['lowest', 'highest'] name: 'PHPUnit' steps: @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: ['8.1', '8.2'] + php-version: ['8.1', '8.2', '8.3'] dependencies: ['lowest', 'highest'] name: 'Psalm' steps: From d65b211b955f4e8018529fb286ec04f679559454 Mon Sep 17 00:00:00 2001 From: Baptiste Langlade Date: Sat, 23 Sep 2023 11:00:55 +0200 Subject: [PATCH 2/5] use psalm 5 --- composer.json | 2 +- psalm.xml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 984c282..53c305f 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ }, "require-dev": { "phpunit/phpunit": "~9.0", - "vimeo/psalm": "~4.30", + "vimeo/psalm": "~5.12", "innmind/coding-standard": "~2.0" } } diff --git a/psalm.xml b/psalm.xml index 3240886..510148d 100644 --- a/psalm.xml +++ b/psalm.xml @@ -2,6 +2,8 @@ Date: Sat, 23 Sep 2023 11:01:48 +0200 Subject: [PATCH 3/5] add support for immutable 5 --- CHANGELOG.md | 6 ++++++ composer.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7080341..75c9f87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 4.1.0 - 2023-09-23 + +### Added + +- Support for `innmind/immutable:~5.0` + ## 4.0.0 - 2023-01-29 ### Changed diff --git a/composer.json b/composer.json index 53c305f..972dcfc 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ }, "require": { "php": "~8.1", - "innmind/immutable": "~4.0", + "innmind/immutable": "~4.0|~5.0", "innmind/time-continuum": "~3.0", "innmind/url": "~4.0", "psr/log": "~3.0", From d3dfe590be1d100a890fe10ad57ac6cca1f23dff Mon Sep 17 00:00:00 2001 From: Baptiste Langlade Date: Sat, 23 Sep 2023 11:06:02 +0200 Subject: [PATCH 4/5] fix minimum version of immutable --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 972dcfc..92b15a4 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ }, "require": { "php": "~8.1", - "innmind/immutable": "~4.0|~5.0", + "innmind/immutable": "~4.15|~5.0", "innmind/time-continuum": "~3.0", "innmind/url": "~4.0", "psr/log": "~3.0", From 749c50264c32913c2b2150048223133cfc3f50a6 Mon Sep 17 00:00:00 2001 From: Baptiste Langlade Date: Sat, 23 Sep 2023 11:07:31 +0200 Subject: [PATCH 5/5] drop php 8.1 support --- .github/workflows/ci.yml | 6 +++--- CHANGELOG.md | 4 ++++ composer.json | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa48d86..9e4a616 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest] - php-version: ['8.1', '8.2', '8.3'] + php-version: ['8.2', '8.3'] dependencies: ['lowest', 'highest'] name: 'PHPUnit' steps: @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: ['8.1', '8.2', '8.3'] + php-version: ['8.2', '8.3'] dependencies: ['lowest', 'highest'] name: 'Psalm' steps: @@ -54,7 +54,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: ['8.1'] + php-version: ['8.2'] name: 'CS' steps: - name: Checkout diff --git a/CHANGELOG.md b/CHANGELOG.md index 75c9f87..a79119f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ - Support for `innmind/immutable:~5.0` +### Removed + +- Support for PHP `8.1` + ## 4.0.0 - 2023-01-29 ### Changed diff --git a/composer.json b/composer.json index 92b15a4..fe75ca8 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "issues": "http://github.com/Innmind/ServerStatus/issues" }, "require": { - "php": "~8.1", + "php": "~8.2", "innmind/immutable": "~4.15|~5.0", "innmind/time-continuum": "~3.0", "innmind/url": "~4.0",