@@ -2,10 +2,7 @@ |
||
| 2 | 2 | use Silex\Application; |
| 3 | 3 | use Symfony\Component\HttpFoundation\Request; |
| 4 | 4 | use Symfony\Component\HttpFoundation\Response; |
| 5 | -use Symfony\Component\HttpFoundation\ParameterBag; |
|
| 6 | 5 | use PhpDraft\Domain\Models\PhpDraftResponse; |
| 7 | -use Symfony\Component\Debug\ErrorHandler; |
|
| 8 | -use Symfony\Component\Debug\ExceptionHandler; |
|
| 9 | 6 | |
| 10 | 7 | if (!$app instanceof Silex\Application) { |
| 11 | 8 | throw new Exception('Invalid application setup.'); |
@@ -1,9 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use Symfony\Component\DependencyInjection\Definition; |
|
| 4 | -use Symfony\Component\DependencyInjection\Reference; |
|
| 5 | 3 | use PhpDraft\Config\Security\UserProvider; |
| 6 | -use PhpDraft\Config\Security\AuthenticationEntryPoint; |
|
| 7 | 4 | |
| 8 | 5 | if (!$app instanceof Silex\Application) { |
| 9 | 6 | throw new Exception('Invalid application setup.'); |
@@ -3,10 +3,7 @@ |
||
| 3 | 3 | namespace PhpDraft\Controllers\Admin; |
| 4 | 4 | |
| 5 | 5 | use \Silex\Application; |
| 6 | -use Symfony\Component\HttpFoundation\Response; |
|
| 7 | 6 | use Symfony\Component\HttpFoundation\Request; |
| 8 | -use PhpDraft\Domain\Models\PhpDraftResponse; |
|
| 9 | -use PhpDraft\Domain\Entities\Draft; |
|
| 10 | 7 | |
| 11 | 8 | class DraftStatsController |
| 12 | 9 | { |
@@ -5,8 +5,6 @@ |
||
| 5 | 5 | use \Silex\Application; |
| 6 | 6 | use Symfony\Component\HttpFoundation\Response; |
| 7 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 8 | -use PhpDraft\Domain\Models\PhpDraftResponse; |
|
| 9 | -use PhpDraft\Domain\Entities\Draft; |
|
| 10 | 8 | |
| 11 | 9 | class ProPlayerController |
| 12 | 10 | { |
@@ -3,10 +3,8 @@ |
||
| 3 | 3 | namespace PhpDraft\Controllers\Admin; |
| 4 | 4 | |
| 5 | 5 | use \Silex\Application; |
| 6 | -use Symfony\Component\HttpFoundation\Response; |
|
| 7 | 6 | use Symfony\Component\HttpFoundation\Request; |
| 8 | 7 | use PhpDraft\Domain\Models\PhpDraftResponse; |
| 9 | -use PhpDraft\Domain\Entities\Draft; |
|
| 10 | 8 | |
| 11 | 9 | class UserController |
| 12 | 10 | { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use \Silex\Application; |
| 6 | 6 | use Symfony\Component\HttpFoundation\Response; |
| 7 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 8 | -use PhpDraft\Domain\Models\PhpDraftResponse; |
|
| 9 | 8 | use PhpDraft\Domain\Entities\Draft; |
| 10 | 9 | |
| 11 | 10 | class DraftController |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use \Silex\Application; |
| 6 | 6 | use Symfony\Component\HttpFoundation\Request; |
| 7 | 7 | use Symfony\Component\HttpFoundation\Response; |
| 8 | -use PhpDraft\Domain\Entities\ProPlayer; |
|
| 9 | 8 | use PhpDraft\Domain\Models\PhpDraftResponse; |
| 10 | 9 | |
| 11 | 10 | class PickController { |
@@ -4,8 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use \Silex\Application; |
| 6 | 6 | use Symfony\Component\HttpFoundation\Request; |
| 7 | -use Symfony\Component\HttpFoundation\Response; |
|
| 8 | -use PhpDraft\Domain\Entities\ProPlayer; |
|
| 9 | 7 | use PhpDraft\Domain\Models\PhpDraftResponse; |
| 10 | 8 | |
| 11 | 9 | class ProPlayerController { |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use Symfony\Component\HttpFoundation\Response; |
| 8 | 8 | use PhpDraft\Domain\Entities\Trade; |
| 9 | 9 | use PhpDraft\Domain\Entities\TradeAsset; |
| 10 | -use PhpDraft\Domain\Entities\Manager; |
|
| 11 | 10 | use PhpDraft\Domain\Models\PhpDraftResponse; |
| 12 | 11 | |
| 13 | 12 | class TradeController { |