Skip to content

Commit d747500

Browse files
committed
update composer and route annotation
1 parent 7cc59e6 commit d747500

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"psr/log": "^1.0",
4949
"ramsey/uuid": "^3.7",
5050
"ramsey/uuid-doctrine": "^1.4",
51-
"sensio/framework-extra-bundle": "^3.0.11 || ^4.0",
51+
"sensio/framework-extra-bundle": "^3.0.11 || ^4.0 || ^5.0",
5252
"symfony/asset": "^3.3 || ^4.0",
5353
"symfony/cache": "^3.3 || ^4.0",
5454
"symfony/config": "^3.4 || ^4.0",

tests/Fixtures/TestBundle/Controller/CustomActionController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
namespace ApiPlatform\Core\Tests\Fixtures\TestBundle\Controller;
1515

1616
use ApiPlatform\Core\Tests\Fixtures\TestBundle\Entity\CustomActionDummy;
17-
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
18-
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
17+
use Symfony\Component\Routing\Annotation\Route;
1918
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
2019
use Symfony\Component\HttpFoundation\Request;
2120

tests/Fixtures/TestBundle/Controller/DummyValidationController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
namespace ApiPlatform\Core\Tests\Fixtures\TestBundle\Controller;
1515

1616
use ApiPlatform\Core\Tests\Fixtures\TestBundle\Entity\DummyValidation;
17-
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
18-
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
17+
use Symfony\Component\Routing\Annotation\Route;
1918

2019
class DummyValidationController
2120
{

0 commit comments

Comments
 (0)