@@ -4,12 +4,9 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 6 | 6 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 7 | -use Symfony\Component\Config\Definition\Exception\Exception; |
|
| 8 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 9 | -use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
|
| 10 | 8 | use Xtools\ProjectRepository; |
| 11 | 9 | use Xtools\User; |
| 12 | -use Xtools\UserRepository; |
|
| 13 | 10 | |
| 14 | 11 | class SimpleEditCounterController extends Controller |
| 15 | 12 | { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 6 | 6 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 7 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 8 | -use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
|
| 9 | 8 | use Xtools\ProjectRepository; |
| 10 | 9 | use Xtools\User; |
| 11 | 10 | |
@@ -2,13 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace AppBundle\Controller; |
| 4 | 4 | |
| 5 | -use AppBundle\Helper\AutomatedEditsHelper; |
|
| 6 | -use Exception; |
|
| 7 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
| 8 | 5 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 9 | -use Symfony\Component\HttpFoundation\Request; |
|
| 10 | 6 | use Symfony\Component\HttpFoundation\Response; |
| 11 | -use Symfony\Component\Debug\Exception\FatalErrorException; |
|
| 12 | 7 | use FOS\RestBundle\Controller\Annotations as Rest; |
| 13 | 8 | use FOS\RestBundle\Controller\FOSRestController; |
| 14 | 9 | use FOS\RestBundle\View\View; |