@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use App\Controller\AppController; |
| 16 | 16 | use Cake\Controller\Component\AuthComponent; |
| 17 | 17 | use Cake\Core\Configure; |
| 18 | -use Cake\Event\Event; |
|
| 19 | 18 | |
| 20 | 19 | /** |
| 21 | 20 | * Api App Controller |
@@ -13,13 +13,11 @@ |
||
| 13 | 13 | namespace ImageUploader\Test\TestCase\Controller; |
| 14 | 14 | |
| 15 | 15 | use Api\Error\Exception\GenericApiException; |
| 16 | -use Cake\Cache\Cache; |
|
| 17 | 16 | use Cake\Core\Configure; |
| 18 | 17 | use Cake\Core\Plugin; |
| 19 | 18 | use Cake\Filesystem\File; |
| 20 | 19 | use Cake\Http\Exception\UnauthorizedException; |
| 21 | 20 | use Cake\ORM\TableRegistry; |
| 22 | -use claviska\SimpleImage; |
|
| 23 | 21 | use Saito\Exception\SaitoForbiddenException; |
| 24 | 22 | use Saito\Test\IntegrationTestCase; |
| 25 | 23 | |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | |
| 13 | 13 | namespace Installer\Test\TestCase\Controller; |
| 14 | 14 | |
| 15 | -use App\Model\Table\SettingsTable; |
|
| 16 | 15 | use Cake\Core\Configure; |
| 17 | 16 | use Cake\Datasource\ConnectionManager; |
| 18 | 17 | use Cake\Filesystem\File; |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | namespace App\Auth; |
| 11 | 11 | |
| 12 | 12 | use Cake\Auth\BaseAuthenticate; |
| 13 | -use Cake\Core\Configure; |
|
| 14 | 13 | use Cake\Event\Event; |
| 15 | 14 | use Cake\Http\Response; |
| 16 | 15 | use Cake\Http\ServerRequest; |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use Cake\Database\Expression\QueryExpression; |
| 7 | 7 | use Cake\Event\Event; |
| 8 | 8 | use Cake\Event\EventManager; |
| 9 | -use Cake\ORM\Entity; |
|
| 10 | 9 | use Cake\ORM\Table; |
| 11 | 10 | use Saito\Event\SaitoEventManager; |
| 12 | 11 | |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Saito\Smiley; |
| 4 | 4 | |
| 5 | 5 | use Cake\Cache\Cache; |
| 6 | -use Cake\Core\Configure; |
|
| 7 | 6 | use Cake\ORM\TableRegistry; |
| 8 | 7 | |
| 9 | 8 | class SmileyLoader |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | namespace Saito\Test; |
| 14 | 14 | |
| 15 | 15 | use App\Test\Fixture\UserFixture; |
| 16 | - |
|
| 17 | 16 | use Cake\Core\Configure; |
| 18 | 17 | use Cake\Event\Event; |
| 19 | 18 | use Cake\Event\EventManager; |
@@ -4,9 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Cake\ORM\Table; |
| 6 | 6 | use Cake\ORM\TableRegistry; |
| 7 | -use Saito\App\Registry; |
|
| 8 | 7 | use Saito\Test\SaitoTestCase; |
| 9 | -use Saito\User\SaitoUser; |
|
| 10 | 8 | |
| 11 | 9 | abstract class SaitoTableTestCase extends SaitoTestCase |
| 12 | 10 | { |
@@ -2,9 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Saito\Test; |
| 4 | 4 | |
| 5 | -use Cake\Event\Event; |
|
| 6 | -use Cake\Event\EventManager; |
|
| 7 | - |
|
| 8 | 5 | trait SecurityMockTrait |
| 9 | 6 | { |
| 10 | 7 | |