File tree Expand file tree Collapse file tree 4 files changed +27
-5
lines changed Expand file tree Collapse file tree 4 files changed +27
-5
lines changed Original file line number Diff line number Diff line change 15
15
16
16
class_exists (\ApiPlatform \Metadata \IdentifiersExtractorInterface::class);
17
17
18
- if (!class_exists (IdentifiersExtractorInterface::class)) {
18
+ class_alias (
19
+ \ApiPlatform \Metadata \IdentifiersExtractorInterface::class,
20
+ __NAMESPACE__ .'\IdentifiersExtractorInterface '
21
+ );
22
+
23
+ if (false ) { // @phpstan-ignore-line
19
24
interface IdentifiersExtractorInterface extends \ApiPlatform \Metadata \IdentifiersExtractorInterface
20
25
{
21
26
}
Original file line number Diff line number Diff line change 15
15
16
16
class_exists (\ApiPlatform \Metadata \IriConverterInterface::class);
17
17
18
- if (!class_exists (IriConverterInterface::class)) {
18
+ class_alias (
19
+ \ApiPlatform \Metadata \IriConverterInterface::class,
20
+ __NAMESPACE__ .'\IriConverterInterface '
21
+ );
22
+
23
+ if (false ) { // @phpstan-ignore-line
19
24
interface IriConverterInterface extends \ApiPlatform \Metadata \IriConverterInterface
20
25
{
21
26
}
Original file line number Diff line number Diff line change 15
15
16
16
class_exists (\ApiPlatform \Metadata \UriVariablesConverterInterface::class);
17
17
18
- if (!class_exists (UriVariablesConverterInterface::class)) {
18
+ class_alias (
19
+ \ApiPlatform \Metadata \UriVariablesConverterInterface::class,
20
+ __NAMESPACE__ .'\UriVariablesConverterInterface '
21
+ );
22
+
23
+ if (false ) { // @phpstan-ignore-line
19
24
interface UriVariablesConverterInterface extends \ApiPlatform \Metadata \UriVariablesConverterInterface
20
25
{
21
26
}
Original file line number Diff line number Diff line change 13
13
14
14
namespace ApiPlatform \Api ;
15
15
16
- interface UrlGeneratorInterface extends \ApiPlatform \Metadata \UrlGeneratorInterface
17
- {
16
+ class_alias (
17
+ \ApiPlatform \Metadata \UrlGeneratorInterface::class,
18
+ __NAMESPACE__ .'\UrlGeneratorInterface '
19
+ );
20
+
21
+ if (false ) { // @phpstan-ignore-line
22
+ interface UrlGeneratorInterface extends \ApiPlatform \Metadata \UrlGeneratorInterface
23
+ {
24
+ }
18
25
}
You can’t perform that action at this time.
0 commit comments