mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-02 21:36:14 +03:00
Support of PHP 8.2
This commit is contained in:
parent
5cbcba78df
commit
c8e33918a2
2 changed files with 3 additions and 1 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -15,6 +15,7 @@ jobs:
|
|||
matrix:
|
||||
php-version:
|
||||
- '8.1'
|
||||
- '8.2'
|
||||
symfony-version:
|
||||
- '5.4.*'
|
||||
- '6.4.*'
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue