mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
CS
This commit is contained in:
parent
2862d8cf6f
commit
a011ff8f86
@ -16,7 +16,9 @@ use Nelmio\ApiDocBundle\Tests\Functional\EntityExcluded;
|
||||
|
||||
// BC Api-Platform < 3.x
|
||||
if (!class_exists(ApiProperty::class)) {
|
||||
class Dummy extends EntityExcluded\ApiPlatform3\Dummy {}
|
||||
class Dummy extends EntityExcluded\ApiPlatform3\Dummy
|
||||
{
|
||||
}
|
||||
} else {
|
||||
class_alias(EntityExcluded\ApiPlatform2\Dummy::class, Dummy::class);
|
||||
}
|
||||
|
@ -167,7 +167,7 @@ class TestKernel extends Kernel
|
||||
'mapping' => ['paths' => [
|
||||
!class_exists(ApiProperty::class)
|
||||
? '%kernel.project_dir%/Tests/Functional/EntityExcluded/ApiPlatform3'
|
||||
: '%kernel.project_dir%/Tests/Functional/EntityExcluded/ApiPlatform2'
|
||||
: '%kernel.project_dir%/Tests/Functional/EntityExcluded/ApiPlatform2',
|
||||
]],
|
||||
]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user