Passed
Push — master ( 2f1ddd...7ed6ec )
by Evgeny
03:44
created
src/Service/Action/Auth/RegisterAction.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -16,11 +16,9 @@
 block discarded – undo
16 16
 use CakeDC\Users\Controller\Component\UsersAuthComponent;
17 17
 use CakeDC\Users\Controller\Traits\CustomUsersTableTrait;
18 18
 use CakeDC\Users\Controller\Traits\RegisterTrait;
19
-use CakeDC\Users\Exception\UserNotFoundException;
20 19
 use Cake\Core\Configure;
21 20
 use Cake\Datasource\EntityInterface;
22 21
 use Cake\Utility\Hash;
23
-use Cake\Validation\Validator;
24 22
 
25 23
 /**
26 24
  * Class RegisterAction
Please login to merge, or discard this patch.
tests/TestCase/Service/ServiceTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use CakeDC\Api\TestSuite\TestCase;
19 19
 use CakeDC\Api\Test\ConfigTrait;
20 20
 use CakeDC\Api\Test\FixturesTrait;
21
-use Cake\Controller\Controller;
22 21
 use Cake\Core\Configure;
23 22
 
24 23
 class ServiceTest extends TestCase
Please login to merge, or discard this patch.
TestCase/Integration/Service/Action/Auth/ResetPasswordRequestActionTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use CakeDC\Api\Test\Settings;
18 18
 use Cake\Core\Configure;
19 19
 use Cake\ORM\TableRegistry;
20
-use Cake\Utility\Hash;
21 20
 
22 21
 /**
23 22
  * Class ResetPasswordRequestActionTest
Please login to merge, or discard this patch.
src/Service/Auth/Authenticate/BaseAuthenticate.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -26,13 +26,11 @@
 block discarded – undo
26 26
 namespace CakeDC\Api\Service\Auth\Authenticate;
27 27
 
28 28
 use CakeDC\Api\Service\Action\Action;
29
-
30 29
 use Cake\Auth\PasswordHasherFactory;
31 30
 use Cake\Core\InstanceConfigTrait;
32 31
 use Cake\Event\EventListenerInterface;
33 32
 use Cake\Http\Response;
34 33
 use Cake\Http\ServerRequest;
35
-
36 34
 use Cake\ORM\TableRegistry;
37 35
 
38 36
 /**
Please login to merge, or discard this patch.
src/Service/Service.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -20,11 +20,9 @@
 block discarded – undo
20 20
 use CakeDC\Api\Service\Exception\MissingRendererException;
21 21
 use CakeDC\Api\Service\Renderer\BaseRenderer;
22 22
 use CakeDC\Api\Service\RequestParser\BaseParser;
23
-
24 23
 use Cake\Core\App;
25 24
 use Cake\Core\Configure;
26 25
 use Cake\Datasource\Exception\RecordNotFoundException;
27
-
28 26
 use Cake\Event\EventDispatcherInterface;
29 27
 use Cake\Event\EventDispatcherTrait;
30 28
 use Cake\Event\EventListenerInterface;
Please login to merge, or discard this patch.
tests/TestCase/Service/Action/CrudAddActionTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use CakeDC\Api\TestSuite\TestCase;
17 17
 use CakeDC\Api\Test\ConfigTrait;
18 18
 use CakeDC\Api\Test\FixturesTrait;
19
-
20 19
 use Cake\Datasource\EntityInterface;
21 20
 
22 21
 class CrudAddActionTest extends TestCase
Please login to merge, or discard this patch.
tests/TestCase/Service/Action/CrudEditActionTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use CakeDC\Api\TestSuite\TestCase;
17 17
 use CakeDC\Api\Test\ConfigTrait;
18 18
 use CakeDC\Api\Test\FixturesTrait;
19
-
20 19
 use Cake\Datasource\EntityInterface;
21 20
 
22 21
 class CrudEditActionTest extends TestCase
Please login to merge, or discard this patch.
src/Service/Locator/LocatorAwareTrait.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace CakeDC\Api\Service\Locator;
13 13
 
14
-use CakeDC\Api\Service\ServiceRegistry;
15
-
16 14
 /**
17 15
  * Contains method for setting and accessing LocatorInterface instance
18 16
  */
Please login to merge, or discard this patch.
src/TestSuite/TestCase.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,7 @@
 block discarded – undo
12 12
 namespace CakeDC\Api\TestSuite;
13 13
 
14 14
 use CakeDC\Api\Service\ServiceRegistry;
15
-use Cake\Core\Configure;
16 15
 use Cake\TestSuite\TestCase as BaseTestCase;
17
-use Cake\Utility\Hash;
18 16
 
19 17
 /**
20 18
  * Class TestCase
Please login to merge, or discard this patch.