Skip to content

Commit 9362a3b

Browse files
authored
chore: remove annotation namespaces (#7861)
1 parent 66e6734 commit 9362a3b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

tests/Fixtures/TestBundle/Controller/Common/CustomController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
use ApiPlatform\Tests\Fixtures\TestBundle\Model\CustomObject;
1717
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
18-
use Symfony\Component\Routing\Annotation\Route;
18+
use Symfony\Component\Routing\Attribute\Route;
1919

2020
/**
2121
* Custom Controller.

tests/Fixtures/TestBundle/Controller/MongoDbOdm/CustomActionController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
1818
use Symfony\Component\HttpFoundation\JsonResponse;
1919
use Symfony\Component\HttpFoundation\Request;
20-
use Symfony\Component\Routing\Annotation\Route;
20+
use Symfony\Component\Routing\Attribute\Route;
2121

2222
/**
2323
* @author Kévin Dunglas <dunglas@gmail.com>

tests/Fixtures/TestBundle/Controller/Orm/CustomActionController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
1818
use Symfony\Component\HttpFoundation\JsonResponse;
1919
use Symfony\Component\HttpFoundation\Request;
20-
use Symfony\Component\Routing\Annotation\Route;
20+
use Symfony\Component\Routing\Attribute\Route;
2121

2222
/**
2323
* @author Kévin Dunglas <dunglas@gmail.com>

tests/Fixtures/TestBundle/Document/JsonSchemaContextDummy.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
namespace ApiPlatform\Tests\Fixtures\TestBundle\Document;
1515

16-
use ApiPlatform\Core\Annotation\ApiProperty;
17-
use ApiPlatform\Core\Annotation\ApiResource;
18-
use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
16+
use ApiPlatform\Metadata\ApiProperty;
17+
use ApiPlatform\Metadata\ApiResource;
18+
use Doctrine\ODM\MongoDB\Mapping\Attribute as ODM;
1919

2020
/**
2121
* JSON Schema Context Dummy.

0 commit comments

Comments
 (0)