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;

src/Controller/v1/Profile/RolesController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Symfony\Component\HttpFoundation\JsonResponse;
1717
use Symfony\Component\HttpFoundation\Request;
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/Role/FindOneRoleController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Symfony\Component\HttpFoundation\Request;
1717
use Symfony\Component\HttpFoundation\Response;
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\Routing\Requirement\EnumRequirement;
2121
use Symfony\Component\Security\Http\Attribute\IsGranted;
2222
use Throwable;

src/Controller/v1/Role/InheritedRolesController.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\Routing\Requirement\EnumRequirement;
2222
use Symfony\Component\Security\Http\Attribute\IsGranted;
2323

src/Controller/v1/Role/RoleController.php

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

src/Controller/v1/User/AttachUserGroupController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
use Symfony\Component\HttpFoundation\Request;
2222
use Symfony\Component\HttpFoundation\Response;
2323
use Symfony\Component\HttpKernel\Attribute\AsController;
24-
use Symfony\Component\Routing\Annotation\Route;
24+
use Symfony\Component\Routing\Attribute\Route;
2525
use Symfony\Component\Routing\Requirement\Requirement;
2626
use Symfony\Component\Security\Http\Attribute\IsGranted;
2727
use Symfony\Component\Serializer\SerializerInterface;

src/Controller/v1/User/DeleteUserController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
use Symfony\Component\HttpFoundation\Response;
1919
use Symfony\Component\HttpKernel\Attribute\AsController;
2020
use Symfony\Component\HttpKernel\Exception\HttpException;
21-
use Symfony\Component\Routing\Annotation\Route;
21+
use Symfony\Component\Routing\Attribute\Route;
2222
use Symfony\Component\Routing\Requirement\Requirement;
2323
use Symfony\Component\Security\Http\Attribute\IsGranted;
2424
use Throwable;

src/Controller/v1/User/DetachUserGroupController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
use Symfony\Component\HttpFoundation\JsonResponse;
2121
use Symfony\Component\HttpFoundation\Request;
2222
use Symfony\Component\HttpKernel\Attribute\AsController;
23-
use Symfony\Component\Routing\Annotation\Route;
23+
use Symfony\Component\Routing\Attribute\Route;
2424
use Symfony\Component\Routing\Requirement\Requirement;
2525
use Symfony\Component\Security\Http\Attribute\IsGranted;
2626
use Symfony\Component\Serializer\SerializerInterface;

src/Controller/v1/User/UserController.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/User/UserGroupsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
use Symfony\Component\HttpFoundation\JsonResponse;
1919
use Symfony\Component\HttpFoundation\Request;
2020
use Symfony\Component\HttpKernel\Attribute\AsController;
21-
use Symfony\Component\Routing\Annotation\Route;
21+
use Symfony\Component\Routing\Attribute\Route;
2222
use Symfony\Component\Routing\Requirement\Requirement;
2323
use Symfony\Component\Security\Http\Attribute\IsGranted;
2424
use Symfony\Component\Serializer\SerializerInterface;

src/Controller/v1/User/UserRolesController.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\Routing\Requirement\Requirement;
2222
use Symfony\Component\Security\Http\Attribute\IsGranted;
2323

src/Controller/v1/UserGroup/AttachUserController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
use Symfony\Component\HttpFoundation\JsonResponse;
2121
use Symfony\Component\HttpFoundation\Request;
2222
use Symfony\Component\HttpKernel\Attribute\AsController;
23-
use Symfony\Component\Routing\Annotation\Route;
23+
use Symfony\Component\Routing\Attribute\Route;
2424
use Symfony\Component\Routing\Requirement\Requirement;
2525
use Symfony\Component\Security\Http\Attribute\IsGranted;
2626
use Symfony\Component\Serializer\SerializerInterface;

src/Controller/v1/UserGroup/DetachUserController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
use Symfony\Component\HttpFoundation\JsonResponse;
2121
use Symfony\Component\HttpFoundation\Request;
2222
use Symfony\Component\HttpKernel\Attribute\AsController;
23-
use Symfony\Component\Routing\Annotation\Route;
23+
use Symfony\Component\Routing\Attribute\Route;
2424
use Symfony\Component\Routing\Requirement\Requirement;
2525
use Symfony\Component\Security\Http\Attribute\IsGranted;
2626
use Symfony\Component\Serializer\SerializerInterface;

src/Controller/v1/UserGroup/UserGroupController.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/UserGroup/UsersController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
use Symfony\Component\HttpFoundation\Request;
2121
use Symfony\Component\HttpFoundation\Response;
2222
use Symfony\Component\HttpKernel\Attribute\AsController;
23-
use Symfony\Component\Routing\Annotation\Route;
23+
use Symfony\Component\Routing\Attribute\Route;
2424
use Symfony\Component\Routing\Requirement\Requirement;
2525
use Symfony\Component\Security\Http\Attribute\IsGranted;
2626
use Throwable;

src/Rest/Traits/Actions/Admin/CountAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use App\Rest\Traits\Methods\CountMethod;
1313
use Symfony\Component\HttpFoundation\Request;
1414
use Symfony\Component\HttpFoundation\Response;
15-
use Symfony\Component\Routing\Annotation\Route;
15+
use Symfony\Component\Routing\Attribute\Route;
1616
use Symfony\Component\Security\Http\Attribute\IsGranted;
1717
use Throwable;
1818

src/Rest/Traits/Actions/Admin/CreateAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
use App\Rest\Traits\Methods\CreateMethod;
1414
use Symfony\Component\HttpFoundation\Request;
1515
use Symfony\Component\HttpFoundation\Response;
16-
use Symfony\Component\Routing\Annotation\Route;
16+
use Symfony\Component\Routing\Attribute\Route;
1717
use Symfony\Component\Security\Http\Attribute\IsGranted;
1818
use Throwable;
1919

src/Rest/Traits/Actions/Admin/DeleteAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use App\Rest\Traits\Methods\DeleteMethod;
1313
use Symfony\Component\HttpFoundation\Request;
1414
use Symfony\Component\HttpFoundation\Response;
15-
use Symfony\Component\Routing\Annotation\Route;
15+
use Symfony\Component\Routing\Attribute\Route;
1616
use Symfony\Component\Routing\Requirement\Requirement;
1717
use Symfony\Component\Security\Http\Attribute\IsGranted;
1818
use Throwable;

src/Rest/Traits/Actions/Admin/FindAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use App\Rest\Traits\Methods\FindMethod;
1313
use Symfony\Component\HttpFoundation\Request;
1414
use Symfony\Component\HttpFoundation\Response;
15-
use Symfony\Component\Routing\Annotation\Route;
15+
use Symfony\Component\Routing\Attribute\Route;
1616
use Symfony\Component\Security\Http\Attribute\IsGranted;
1717
use Throwable;
1818

src/Rest/Traits/Actions/Admin/FindOneAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use App\Rest\Traits\Methods\FindOneMethod;
1313
use Symfony\Component\HttpFoundation\Request;
1414
use Symfony\Component\HttpFoundation\Response;
15-
use Symfony\Component\Routing\Annotation\Route;
15+
use Symfony\Component\Routing\Attribute\Route;
1616
use Symfony\Component\Routing\Requirement\Requirement;
1717
use Symfony\Component\Security\Http\Attribute\IsGranted;
1818
use Throwable;

src/Rest/Traits/Actions/Admin/IdsAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use App\Rest\Traits\Methods\IdsMethod;
1313
use Symfony\Component\HttpFoundation\Request;
1414
use Symfony\Component\HttpFoundation\Response;
15-
use Symfony\Component\Routing\Annotation\Route;
15+
use Symfony\Component\Routing\Attribute\Route;
1616
use Symfony\Component\Security\Http\Attribute\IsGranted;
1717
use Throwable;
1818

src/Rest/Traits/Actions/Admin/PatchAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
use App\Rest\Traits\Methods\PatchMethod;
1414
use Symfony\Component\HttpFoundation\Request;
1515
use Symfony\Component\HttpFoundation\Response;
16-
use Symfony\Component\Routing\Annotation\Route;
16+
use Symfony\Component\Routing\Attribute\Route;
1717
use Symfony\Component\Routing\Requirement\Requirement;
1818
use Symfony\Component\Security\Http\Attribute\IsGranted;
1919
use Throwable;

src/Rest/Traits/Actions/Admin/UpdateAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
use App\Rest\Traits\Methods\UpdateMethod;
1414
use Symfony\Component\HttpFoundation\Request;
1515
use Symfony\Component\HttpFoundation\Response;
16-
use Symfony\Component\Routing\Annotation\Route;
16+
use Symfony\Component\Routing\Attribute\Route;
1717
use Symfony\Component\Routing\Requirement\Requirement;
1818
use Symfony\Component\Security\Http\Attribute\IsGranted;
1919
use Throwable;

src/Rest/Traits/Actions/Anon/CountAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use App\Rest\Traits\Methods\CountMethod;
1212
use Symfony\Component\HttpFoundation\Request;
1313
use Symfony\Component\HttpFoundation\Response;
14-
use Symfony\Component\Routing\Annotation\Route;
14+
use Symfony\Component\Routing\Attribute\Route;
1515
use Throwable;
1616

1717
/**

src/Rest/Traits/Actions/Anon/CreateAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use App\Rest\Traits\Methods\CreateMethod;
1313
use Symfony\Component\HttpFoundation\Request;
1414
use Symfony\Component\HttpFoundation\Response;
15-
use Symfony\Component\Routing\Annotation\Route;
15+
use Symfony\Component\Routing\Attribute\Route;
1616
use Throwable;
1717

1818
/**

src/Rest/Traits/Actions/Anon/DeleteAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use App\Rest\Traits\Methods\DeleteMethod;
1212
use Symfony\Component\HttpFoundation\Request;
1313
use Symfony\Component\HttpFoundation\Response;
14-
use Symfony\Component\Routing\Annotation\Route;
14+
use Symfony\Component\Routing\Attribute\Route;
1515
use Symfony\Component\Routing\Requirement\Requirement;
1616
use Throwable;
1717

src/Rest/Traits/Actions/Anon/FindAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use App\Rest\Traits\Methods\FindMethod;
1212
use Symfony\Component\HttpFoundation\Request;
1313
use Symfony\Component\HttpFoundation\Response;
14-
use Symfony\Component\Routing\Annotation\Route;
14+
use Symfony\Component\Routing\Attribute\Route;
1515
use Throwable;
1616

1717
/**

src/Rest/Traits/Actions/Anon/FindOneAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use App\Rest\Traits\Methods\FindOneMethod;
1212
use Symfony\Component\HttpFoundation\Request;
1313
use Symfony\Component\HttpFoundation\Response;
14-
use Symfony\Component\Routing\Annotation\Route;
14+
use Symfony\Component\Routing\Attribute\Route;
1515
use Symfony\Component\Routing\Requirement\Requirement;
1616
use Throwable;
1717

src/Rest/Traits/Actions/Anon/IdsAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use App\Rest\Traits\Methods\IdsMethod;
1212
use Symfony\Component\HttpFoundation\Request;
1313
use Symfony\Component\HttpFoundation\Response;
14-
use Symfony\Component\Routing\Annotation\Route;
14+
use Symfony\Component\Routing\Attribute\Route;
1515
use Throwable;
1616

1717
/**

src/Rest/Traits/Actions/Anon/PatchAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use App\Rest\Traits\Methods\PatchMethod;
1313
use Symfony\Component\HttpFoundation\Request;
1414
use Symfony\Component\HttpFoundation\Response;
15-
use Symfony\Component\Routing\Annotation\Route;
15+
use Symfony\Component\Routing\Attribute\Route;
1616
use Symfony\Component\Routing\Requirement\Requirement;
1717
use Throwable;
1818

src/Rest/Traits/Actions/Anon/UpdateAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use App\Rest\Traits\Methods\UpdateMethod;
1313
use Symfony\Component\HttpFoundation\Request;
1414
use Symfony\Component\HttpFoundation\Response;
15-
use Symfony\Component\Routing\Annotation\Route;
15+
use Symfony\Component\Routing\Attribute\Route;
1616
use Symfony\Component\Routing\Requirement\Requirement;
1717
use Throwable;
1818

src/Rest/Traits/Actions/Authenticated/CountAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use App\Rest\Traits\Methods\CountMethod;
1212
use Symfony\Component\HttpFoundation\Request;
1313
use Symfony\Component\HttpFoundation\Response;
14-
use Symfony\Component\Routing\Annotation\Route;
14+
use Symfony\Component\Routing\Attribute\Route;
1515
use Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter;
1616
use Symfony\Component\Security\Http\Attribute\IsGranted;
1717
use Throwable;

src/Rest/Traits/Actions/Authenticated/CreateAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use App\Rest\Traits\Methods\CreateMethod;
1313
use Symfony\Component\HttpFoundation\Request;
1414
use Symfony\Component\HttpFoundation\Response;
15-
use Symfony\Component\Routing\Annotation\Route;
15+
use Symfony\Component\Routing\Attribute\Route;
1616
use Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter;
1717
use Symfony\Component\Security\Http\Attribute\IsGranted;
1818
use Throwable;

src/Rest/Traits/Actions/Authenticated/DeleteAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use App\Rest\Traits\Methods\DeleteMethod;
1212
use Symfony\Component\HttpFoundation\Request;
1313
use Symfony\Component\HttpFoundation\Response;
14-
use Symfony\Component\Routing\Annotation\Route;
14+
use Symfony\Component\Routing\Attribute\Route;
1515
use Symfony\Component\Routing\Requirement\Requirement;
1616
use Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter;
1717
use Symfony\Component\Security\Http\Attribute\IsGranted;

src/Rest/Traits/Actions/Authenticated/FindAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use App\Rest\Traits\Methods\FindMethod;
1212
use Symfony\Component\HttpFoundation\Request;
1313
use Symfony\Component\HttpFoundation\Response;
14-
use Symfony\Component\Routing\Annotation\Route;
14+
use Symfony\Component\Routing\Attribute\Route;
1515
use Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter;
1616
use Symfony\Component\Security\Http\Attribute\IsGranted;
1717
use Throwable;

0 commit comments

Comments
 (0)