@@ -9,7 +9,6 @@ |
||
| 9 | 9 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 10 | 10 | use Symfony\Component\HttpFoundation\Request; |
| 11 | 11 | use Symfony\Component\HttpFoundation\Response; |
| 12 | -use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
|
| 13 | 12 | use DateTime; |
| 14 | 13 | use Xtools\ProjectRepository; |
| 15 | 14 | use Xtools\UserRepository; |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | use Symfony\Component\HttpFoundation\Response; |
| 13 | 13 | use Xtools\EditCounter; |
| 14 | 14 | use Xtools\EditCounterRepository; |
| 15 | -use Xtools\Page; |
|
| 16 | 15 | use Xtools\Project; |
| 17 | 16 | use Xtools\ProjectRepository; |
| 18 | 17 | use Xtools\User; |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | namespace Xtools; |
| 7 | 7 | |
| 8 | 8 | use Mediawiki\Api\MediawikiApi; |
| 9 | -use Symfony\Component\VarDumper\VarDumper; |
|
| 10 | 9 | |
| 11 | 10 | /** |
| 12 | 11 | * A Project is a single wiki that XTools is querying. |
@@ -5,8 +5,6 @@ |
||
| 5 | 5 | |
| 6 | 6 | namespace AppBundle\Twig; |
| 7 | 7 | |
| 8 | -use Twig_SimpleFunction; |
|
| 9 | - |
|
| 10 | 8 | /** |
| 11 | 9 | * Twig extension filters and functions for MediaWiki project links. |
| 12 | 10 | */ |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | use Xtools\Page; |
| 11 | 11 | use Xtools\PagesRepository; |
| 12 | 12 | use Xtools\Project; |
| 13 | -use Xtools\ProjectRepository; |
|
| 14 | 13 | use Xtools\User; |
| 15 | 14 | |
| 16 | 15 | /** |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | use Symfony\Component\HttpFoundation\Request; |
| 12 | 12 | use Symfony\Component\HttpFoundation\Response; |
| 13 | 13 | use Xtools\ProjectRepository; |
| 14 | -use Xtools\User; |
|
| 15 | 14 | use Xtools\UserRepository; |
| 16 | 15 | |
| 17 | 16 | /** |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | namespace Xtools; |
| 7 | 7 | |
| 8 | 8 | use DateInterval; |
| 9 | -use DateTime; |
|
| 10 | 9 | use Mediawiki\Api\SimpleRequest; |
| 11 | 10 | |
| 12 | 11 | /** |
@@ -5,18 +5,13 @@ |
||
| 5 | 5 | |
| 6 | 6 | namespace AppBundle\Controller; |
| 7 | 7 | |
| 8 | -use Exception; |
|
| 9 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
| 10 | 8 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 11 | -use Symfony\Component\HttpFoundation\Request; |
|
| 12 | 9 | use Symfony\Component\HttpFoundation\Response; |
| 13 | -use Symfony\Component\Debug\Exception\FatalErrorException; |
|
| 14 | 10 | use FOS\RestBundle\Controller\Annotations as Rest; |
| 15 | 11 | use FOS\RestBundle\Controller\FOSRestController; |
| 16 | 12 | use FOS\RestBundle\View\View; |
| 17 | 13 | use Xtools\ProjectRepository; |
| 18 | 14 | use Xtools\UserRepository; |
| 19 | -use Xtools\Page; |
|
| 20 | 15 | use Xtools\Edit; |
| 21 | 16 | |
| 22 | 17 | /** |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 11 | 11 | use Symfony\Component\HttpFoundation\Request; |
| 12 | 12 | use Symfony\Component\HttpFoundation\Response; |
| 13 | -use Psr\Cache\CacheItemPoolInterface; |
|
| 14 | 13 | use Xtools\Project; |
| 15 | 14 | use Xtools\ProjectRepository; |
| 16 | 15 | use Xtools\User; |