Completed
Push — master ( 26f1e6...060edd )
by Michael
03:32 queued 01:54
created
src/JhUser/Controller/RoleController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,10 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace JhUser\Controller;
4 4
 
5
-use JhUser\Entity\HierarchicalRole;
6
-use JhUser\Entity\Permission;
7 5
 use Zend\Mvc\Controller\AbstractActionController;
8
-use Zend\Console\Request as ConsoleRequest;
9 6
 use Doctrine\Common\Persistence\ObjectManager;
10 7
 use JhUser\Repository\UserRepositoryInterface;
11 8
 use JhUser\Repository\RoleRepositoryInterface;
Please login to merge, or discard this patch.
test/JhUserTest/Controller/RoleControllerTest.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -78,6 +78,10 @@
 block discarded – undo
78 78
         $this->assertSame($this->user->getRoles()[1], $this->role);
79 79
     }
80 80
 
81
+    /**
82
+     * @param string $userEmail
83
+     * @param string $roleId
84
+     */
81 85
     public function configureMocks($userEmail, $roleId)
82 86
     {
83 87
         $userRepoMock       = $this->getMock('JhUser\Repository\UserRepositoryInterface');
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use JhUser\Entity\User;
6 6
 use JhUser\Entity\HierarchicalRole;
7 7
 use Zend\Console\Request;
8
-use Zend\Http\Request as HttpRequest;
9 8
 use Zend\Test\PHPUnit\Controller\AbstractConsoleControllerTestCase;
10 9
 
11 10
 /**
Please login to merge, or discard this patch.
test/JhUserTest/Util/ServiceManagerFactory.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -22,10 +22,8 @@
 block discarded – undo
22 22
 use Zend\Mvc\Service\ServiceManagerConfig;
23 23
 use Zend\ServiceManager\ServiceManager;
24 24
 use Zend\ServiceManager\ServiceLocatorInterface;
25
-
26 25
 use Doctrine\Common\DataFixtures\Purger\ORMPurger as FixturePurger;
27 26
 use Doctrine\Common\DataFixtures\Executor\ORMExecutor as FixtureExecutor;
28
-
29 27
 use Doctrine\ORM\Tools\SchemaTool;
30 28
 
31 29
 /**
Please login to merge, or discard this patch.