From c8e33918a2b82c62e408cd0f59e600732a778e01 Mon Sep 17 00:00:00 2001 From: Ilyas Salikhov Date: Tue, 18 Jun 2024 12:56:39 +0300 Subject: [PATCH] Support of PHP 8.2 --- .github/workflows/ci.yml | 1 + Tests/Parser/ValidationParserTest.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6bc496f..b8fad06 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,7 @@ jobs: matrix: php-version: - '8.1' + - '8.2' symfony-version: - '5.4.*' - '6.4.*' diff --git a/Tests/Parser/ValidationParserTest.php b/Tests/Parser/ValidationParserTest.php index df8dd1c..936dcca 100644 --- a/Tests/Parser/ValidationParserTest.php +++ b/Tests/Parser/ValidationParserTest.php @@ -20,6 +20,7 @@ use Symfony\Component\HttpKernel\Kernel; class ValidationParserTest extends WebTestCase { protected $handler; + private ValidationParser $parser; public function setUp(): void { @@ -34,7 +35,7 @@ class ValidationParserTest extends WebTestCase if (version_compare(Kernel::VERSION, '2.2.0', '<')) { $this->parser = new ValidationParserLegacy($factory); } else { - $this->parser = new ValidationParser($factory); + $this->parser = new ValidationParser($factory); } }