Skip to content

Commit e5ef00a

Browse files
committed
Add annotation -> attribute aliases
1 parent b37a9c7 commit e5ef00a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Tests/Functional/Bundle/RoutingConditionServiceBundle/Controller/DefaultController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\RoutingConditionServiceBundle\Controller;
1313

1414
use Symfony\Component\HttpFoundation\Response;
15-
use Symfony\Component\Routing\Annotation\Route;
15+
use Symfony\Component\Routing\Attribute\Route;
1616

1717
class DefaultController
1818
{

Tests/Functional/Bundle/TestBundle/Controller/AnnotatedController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

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

1818
class AnnotatedController
1919
{

Tests/Functional/Bundle/TestBundle/Controller/UidController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\TestBundle\Controller;
1313

1414
use Symfony\Component\HttpFoundation\Response;
15-
use Symfony\Component\Routing\Annotation\Route;
15+
use Symfony\Component\Routing\Attribute\Route;
1616
use Symfony\Component\Uid\Ulid;
1717
use Symfony\Component\Uid\UuidV1;
1818

Tests/Kernel/flex-style/src/FlexStyleMicroKernel.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
use Symfony\Component\Filesystem\Filesystem;
1919
use Symfony\Component\HttpFoundation\Response;
2020
use Symfony\Component\HttpKernel\Kernel;
21-
use Symfony\Component\Routing\Annotation\Route;
21+
use Symfony\Component\Routing\Attribute\Route;
2222
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
2323

2424
class FlexStyleMicroKernel extends Kernel

0 commit comments

Comments
 (0)