Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit d8f5559

Browse files
committed
fixed deprecations with SensioFrameworkExtraBundle
1 parent 1d284c4 commit d8f5559

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

app/config/config.yml

+4
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,7 @@ swiftmailer:
6565
username: '%mailer_user%'
6666
password: '%mailer_password%'
6767
spool: { type: memory }
68+
69+
sensio_framework_extra:
70+
router:
71+
annotations: false

src/AppBundle/Controller/DefaultController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace AppBundle\Controller;
44

5-
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
65
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
76
use Symfony\Component\HttpFoundation\Request;
7+
use Symfony\Component\Routing\Annotation\Route;
88

99
class DefaultController extends Controller
1010
{

0 commit comments

Comments
 (0)