Skip to content

Commit ceb4104

Browse files
authored
Merge pull request #2844 from tarlepp/chore/change-route-namespace
Chore - Changed `use Symfony\Component\Routing\Annotation\Route;` to `use Symfony\Component\Routing\Attribute\Route;`
2 parents 2f5d44c + de18734 commit ceb4104

File tree

79 files changed

+79
-79
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+79
-79
lines changed

src/Controller/HealthzController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Symfony\Component\HttpFoundation\Request;
1818
use Symfony\Component\HttpFoundation\Response;
1919
use Symfony\Component\HttpKernel\Attribute\AsController;
20-
use Symfony\Component\Routing\Annotation\Route;
20+
use Symfony\Component\Routing\Attribute\Route;
2121
use Throwable;
2222

2323
/**

src/Controller/IndexController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use Symfony\Component\HttpFoundation\JsonResponse;
1212
use Symfony\Component\HttpFoundation\Request;
1313
use Symfony\Component\HttpKernel\Attribute\AsController;
14-
use Symfony\Component\Routing\Annotation\Route;
14+
use Symfony\Component\Routing\Attribute\Route;
1515

1616
/**
1717
* @package App\Controller

src/Controller/VersionController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\HttpFoundation\JsonResponse;
1616
use Symfony\Component\HttpFoundation\Request;
1717
use Symfony\Component\HttpKernel\Attribute\AsController;
18-
use Symfony\Component\Routing\Annotation\Route;
18+
use Symfony\Component\Routing\Attribute\Route;
1919

2020
/**
2121
* @package App\Controller

src/Controller/v1/ApiKey/ApiKeyController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use App\Rest\Traits\Actions;
1717
use OpenApi\Attributes as OA;
1818
use Symfony\Component\HttpKernel\Attribute\AsController;
19-
use Symfony\Component\Routing\Annotation\Route;
19+
use Symfony\Component\Routing\Attribute\Route;
2020
use Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter;
2121
use Symfony\Component\Security\Http\Attribute\IsGranted;
2222

src/Controller/v1/Auth/GetTokenController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Symfony\Component\HttpFoundation\Response;
1818
use Symfony\Component\HttpKernel\Attribute\AsController;
1919
use Symfony\Component\HttpKernel\Exception\HttpException;
20-
use Symfony\Component\Routing\Annotation\Route;
20+
use Symfony\Component\Routing\Attribute\Route;
2121
use function sprintf;
2222

2323
/**

src/Controller/v1/Localization/LanguageController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Symfony\Component\HttpFoundation\JsonResponse;
1515
use Symfony\Component\HttpFoundation\Request;
1616
use Symfony\Component\HttpKernel\Attribute\AsController;
17-
use Symfony\Component\Routing\Annotation\Route;
17+
use Symfony\Component\Routing\Attribute\Route;
1818

1919
/**
2020
* @package App\Controller\v1\Localization

src/Controller/v1/Localization/LocaleController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Symfony\Component\HttpFoundation\JsonResponse;
1515
use Symfony\Component\HttpFoundation\Request;
1616
use Symfony\Component\HttpKernel\Attribute\AsController;
17-
use Symfony\Component\Routing\Annotation\Route;
17+
use Symfony\Component\Routing\Attribute\Route;
1818

1919
/**
2020
* @package App\Controller\v1\Localization

src/Controller/v1/Localization/TimeZoneController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Symfony\Component\HttpFoundation\JsonResponse;
1515
use Symfony\Component\HttpFoundation\Request;
1616
use Symfony\Component\HttpKernel\Attribute\AsController;
17-
use Symfony\Component\Routing\Annotation\Route;
17+
use Symfony\Component\Routing\Attribute\Route;
1818

1919
/**
2020
* @package App\Controller\v1\Localization

src/Controller/v1/Profile/GroupsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Symfony\Component\HttpFoundation\JsonResponse;
1818
use Symfony\Component\HttpFoundation\Request;
1919
use Symfony\Component\HttpKernel\Attribute\AsController;
20-
use Symfony\Component\Routing\Annotation\Route;
20+
use Symfony\Component\Routing\Attribute\Route;
2121
use Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter;
2222
use Symfony\Component\Security\Http\Attribute\IsGranted;
2323
use Symfony\Component\Serializer\SerializerInterface;

src/Controller/v1/Profile/IndexController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
use Symfony\Component\HttpFoundation\JsonResponse;
2020
use Symfony\Component\HttpFoundation\Request;
2121
use Symfony\Component\HttpKernel\Attribute\AsController;
22-
use Symfony\Component\Routing\Annotation\Route;
22+
use Symfony\Component\Routing\Attribute\Route;
2323
use Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter;
2424
use Symfony\Component\Security\Http\Attribute\IsGranted;
2525
use Symfony\Component\Serializer\SerializerInterface;

0 commit comments

Comments
 (0)