diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 189105d..2f3eecb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,5 +12,3 @@ jobs: uses: innmind/github-workflows/.github/workflows/psalm-matrix.yml@main cs: uses: innmind/github-workflows/.github/workflows/cs.yml@main - with: - php-version: '8.2' diff --git a/CHANGELOG.md b/CHANGELOG.md index cdc629e..4a40716 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [Unreleased] + +### Changed + +- Requires PHP `8.4` +- Requires `innmind/foundation:~2.1` + ## 4.1.0 - 2025-07-30 ### Changed diff --git a/composer.json b/composer.json index 20471d5..214b792 100644 --- a/composer.json +++ b/composer.json @@ -15,8 +15,8 @@ "issues": "http://github.com/Innmind/HttpSession/issues" }, "require": { - "php": "~8.2", - "innmind/foundation": "~1.3" + "php": "~8.4", + "innmind/foundation": "~2.1" }, "autoload": { "psr-4": { @@ -31,7 +31,7 @@ }, "require-dev": { "innmind/black-box": "^6.4.1", - "innmind/static-analysis": "^1.2.1", + "innmind/static-analysis": "~1.3", "innmind/coding-standard": "~2.0" } } diff --git a/src/Manager/Native.php b/src/Manager/Native.php index d063ea4..57e15d1 100644 --- a/src/Manager/Native.php +++ b/src/Manager/Native.php @@ -102,7 +102,7 @@ public function save(Session $session): Maybe $this->session = null; $_SESSION = []; - return Maybe::just(new SideEffect); + return Maybe::just(SideEffect::identity); } #[\Override] @@ -120,7 +120,7 @@ public function close(Session $session): Maybe $this->session = null; - return Maybe::just(new SideEffect); + return Maybe::just(SideEffect::identity); } private function configureSessionId(ServerRequest $request): void