From 0b15fa92b385ddfa69b4bd4d8aa848cffadadbae Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Wed, 3 Aug 2022 12:49:45 +0900 Subject: [PATCH 1/2] Handle "deprecate dynamic properties" @see https://wiki.php.net/rfc/deprecate_dynamic_properties --- tests/FakeObject.php | 4 +++- tests/PdoDependent.php | 3 +++ tests/Profiler/ProfilerTest.php | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/FakeObject.php b/tests/FakeObject.php index ef97b73f..f62527ab 100644 --- a/tests/FakeObject.php +++ b/tests/FakeObject.php @@ -1,7 +1,9 @@ pdo = $pdo; diff --git a/tests/Profiler/ProfilerTest.php b/tests/Profiler/ProfilerTest.php index e523052a..c60c7182 100644 --- a/tests/Profiler/ProfilerTest.php +++ b/tests/Profiler/ProfilerTest.php @@ -6,6 +6,9 @@ class ProfilerTest extends TestCase { + /** @var Profiler */ + private $profiler; + protected function setUp(): void { $this->profiler = new Profiler(); From 1ce4889564568bbd6e4f4c385667321f8fa1d7dc Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Wed, 3 Aug 2022 12:49:58 +0900 Subject: [PATCH 2/2] Test with php 8.2 --- .github/workflows/continuous-integration.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 17030a2f..36f51221 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -16,6 +16,7 @@ jobs: - ubuntu-latest php-version: - '8.1' + - '8.2' steps: - name: Checkout uses: actions/checkout@v1