From 6ac28deec5e9d2877bfa3fd2d13b44c2f5bb9794 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Sun, 11 Dec 2022 15:01:11 +0900 Subject: [PATCH 1/3] Test with PHP 8.2 --- .github/workflows/continuous-integration.yml | 1 + tests/SessionTest.php | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index ed7594d..cfebc21 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -20,6 +20,7 @@ jobs: - '7.4' - '8.0' - '8.1' + - '8.2' steps: - name: Checkout uses: actions/checkout@v1 diff --git a/tests/SessionTest.php b/tests/SessionTest.php index 1f9b22d..1617034 100644 --- a/tests/SessionTest.php +++ b/tests/SessionTest.php @@ -9,6 +9,9 @@ */ class SessionTest extends TestCase { + /** @var FakePhpfunc */ + private $phpfunc; + // the session object protected $session; From a9edac7d94b8f99fab6633426c48088b204e0908 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Sun, 11 Dec 2022 16:23:41 +0900 Subject: [PATCH 2/3] Update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 397db33..e1a7f54 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ session segments, next-request-only ("flash") values, and CSRF tools. ### Installation -This library requires PHP 7.2 or later. It has been tested on PHP 7.2-8.1. we recommend using the latest available version of PHP as a matter of principle. It has no userland dependencies. +This library requires PHP 7.2 or later. It has been tested on PHP 7.2-8.2. we recommend using the latest available version of PHP as a matter of principle. It has no userland dependencies. It is installable and autoloadable via Composer as [aura/session](https://packagist.org/packages/aura/session). From 661af28eac39ccbc9aeded1608d652981b7d1113 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Mon, 12 Dec 2022 08:27:30 +0900 Subject: [PATCH 3/3] Refactor gitHub actions deprecated command --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index cfebc21..b743456 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -35,7 +35,7 @@ jobs: - name: Get composer cache directory id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" + run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache dependencies uses: actions/cache@v2