From 03b995c07e5a44b2ac12f72c8be92e2b8f137037 Mon Sep 17 00:00:00 2001 From: Baptiste Langlade Date: Tue, 18 Nov 2025 11:38:07 +0100 Subject: [PATCH 1/7] require php 8.4 --- .github/workflows/ci.yml | 8 +++----- CHANGELOG.md | 6 ++++++ composer.json | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a311e64..582d238 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.2', '8.3', '8.4'] + php-version: ['8.4'] dependency-versions: ['lowest', 'highest'] name: 'PHPUnit' steps: @@ -30,8 +30,6 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} psalm: - uses: innmind/github-workflows/.github/workflows/psalm-matrix.yml@main + uses: innmind/github-workflows/.github/workflows/psalm-matrix.yml@next cs: - uses: innmind/github-workflows/.github/workflows/cs.yml@main - with: - php-version: '8.2' + uses: innmind/github-workflows/.github/workflows/cs.yml@next diff --git a/CHANGELOG.md b/CHANGELOG.md index 32c5ce6..ef7ee13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [Unreleased] + +### Changed + +- Requires PHP `8.4` + ## 1.4.0 - 2024-03-23 ### Added diff --git a/composer.json b/composer.json index d821dfa..bc5ecbc 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "issues": "http://github.com/Innmind/Json/issues" }, "require": { - "php": "~8.2", + "php": "~8.4", "ext-json": "*", "innmind/immutable": "~5.3" }, From 1a629e4431569c4ce54ca5b932c1549fe0352b66 Mon Sep 17 00:00:00 2001 From: Baptiste Langlade Date: Tue, 18 Nov 2025 11:38:57 +0100 Subject: [PATCH 2/7] use innmind/static-analysis --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index bc5ecbc..1709961 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ }, "require-dev": { "phpunit/phpunit": "~10.0", - "vimeo/psalm": "~5.23|dev-master", + "innmind/static-analysis": "^1.2.1", "innmind/coding-standard": "~2.0" } } From e23f1d270d8ec17fa7f92cd243e0117d915d0572 Mon Sep 17 00:00:00 2001 From: Baptiste Langlade Date: Tue, 18 Nov 2025 11:39:27 +0100 Subject: [PATCH 3/7] use phpunit 12 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 1709961..7ac7749 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ } }, "require-dev": { - "phpunit/phpunit": "~10.0", + "phpunit/phpunit": "~12.0", "innmind/static-analysis": "^1.2.1", "innmind/coding-standard": "~2.0" } From f37a830f036b2bc3d83e5bafe34e64ae3a9d3305 Mon Sep 17 00:00:00 2001 From: Baptiste Langlade Date: Tue, 18 Nov 2025 11:40:22 +0100 Subject: [PATCH 4/7] update dependencies --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7ac7749..6e7395c 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "require": { "php": "~8.4", "ext-json": "*", - "innmind/immutable": "~5.3" + "innmind/immutable": "dev-next" }, "autoload": { "psr-4": { From ad3ace4bf4d17c4a75b44eb3f8ae3a32e237b957 Mon Sep 17 00:00:00 2001 From: Baptiste Langlade Date: Sun, 8 Feb 2026 14:46:01 +0100 Subject: [PATCH 5/7] tag dependencies --- .github/workflows/ci.yml | 4 ++-- CHANGELOG.md | 1 + composer.json | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 582d238..344ac31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,6 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} psalm: - uses: innmind/github-workflows/.github/workflows/psalm-matrix.yml@next + uses: innmind/github-workflows/.github/workflows/psalm-matrix.yml@main cs: - uses: innmind/github-workflows/.github/workflows/cs.yml@next + uses: innmind/github-workflows/.github/workflows/cs.yml@main diff --git a/CHANGELOG.md b/CHANGELOG.md index ef7ee13..64864ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Changed - Requires PHP `8.4` +- Requires `innmind/immutable:~6.0` ## 1.4.0 - 2024-03-23 diff --git a/composer.json b/composer.json index 6e7395c..4857c70 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "require": { "php": "~8.4", "ext-json": "*", - "innmind/immutable": "dev-next" + "innmind/immutable": "~6.0" }, "autoload": { "psr-4": { @@ -31,7 +31,7 @@ }, "require-dev": { "phpunit/phpunit": "~12.0", - "innmind/static-analysis": "^1.2.1", + "innmind/static-analysis": "~1.3", "innmind/coding-standard": "~2.0" } } From a052330fe0477b829c387fd77fa719294439b7c5 Mon Sep 17 00:00:00 2001 From: Baptiste Langlade Date: Sun, 8 Feb 2026 14:46:21 +0100 Subject: [PATCH 6/7] test against php 8.5 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 344ac31..c4e231c 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.4'] + php-version: ['8.4', '8.5'] dependency-versions: ['lowest', 'highest'] name: 'PHPUnit' steps: From 6bf3426fc4e6f03158508b0ae8ee67968d90b541 Mon Sep 17 00:00:00 2001 From: Baptiste Langlade Date: Sun, 8 Feb 2026 14:47:09 +0100 Subject: [PATCH 7/7] add workflow to create releases --- .github/workflows/release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..b25ad8a --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,11 @@ +name: Create release + +on: + push: + tags: + - '*' + +jobs: + release: + uses: innmind/github-workflows/.github/workflows/release.yml@main + secrets: inherit