Support of PHP 8.2

This commit is contained in:
Ilyas Salikhov 2024-06-18 12:56:39 +03:00
parent 5cbcba78df
commit c8e33918a2
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,7 @@ jobs:
matrix:
php-version:
- '8.1'
- '8.2'
symfony-version:
- '5.4.*'
- '6.4.*'

View File

@ -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);
}
}