Completed
Pull Request — master (#15)
by Semih Serhat
01:54
created
lib/Hooks.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,6 @@
 block discarded – undo
81 81
 
82 82
     /**
83 83
      * @param string $uid
84
-     * @param Throttle $throttle
85 84
      */
86 85
     public function failedLoginCallback($uid) {
87 86
         $this->throttle->addFailedLoginAttempt($uid, $this->request->getRemoteAddress());
Please login to merge, or discard this patch.
tests/Controller/SettingsControllerTest.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@
 block discarded – undo
20 20
  */
21 21
 namespace OCA\Security\Tests\Controller;
22 22
 
23
-use OCA\Security\Controller\SettingsController;
24
-use OCA\Security\SecurityConfig;
25
-use OCP\IRequest;
23
+use OCA\Security\Controller\SettingsController;
24
+use OCA\Security\SecurityConfig;
25
+use OCP\IRequest;
26 26
 use Test\TestCase;
27 27
 
28 28
 class SettingsControllerTest extends TestCase {
Please login to merge, or discard this patch.
tests/Db/DbServiceTest.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,9 +22,9 @@
 block discarded – undo
22 22
 
23 23
 namespace OCA\Security\Tests\Db;
24 24
 
25
-use OCA\Security\Db\DbService;
26
-use OC\AppFramework\Utility\TimeFactory;
27
-use OCP\IDBConnection;
25
+use OCA\Security\Db\DbService;
26
+use OC\AppFramework\Utility\TimeFactory;
27
+use OCP\IDBConnection;
28 28
 use Test\TestCase;
29 29
 
30 30
 /**
Please login to merge, or discard this patch.
tests/PasswordValidatorTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 	}
44 44
 
45 45
 	/**
46
-	 * @param array $mockedMethods
46
+	 * @param string[] $mockedMethods
47 47
 	 * @return PasswordValidator | \PHPUnit_Framework_MockObject_MockObject
48 48
 	 */
49 49
 	private function getMockInstance($mockedMethods = []) {
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@
 block discarded – undo
19 19
  *
20 20
  */
21 21
 namespace OCA\Password_Policy\Tests;
22
-use OC\HintException;
23
-use OCA\Security\SecurityConfig;
24
-use OCA\Security\PasswordValidator;
25
-use OCP\IL10N;
22
+use OC\HintException;
23
+use OCA\Security\SecurityConfig;
24
+use OCA\Security\PasswordValidator;
25
+use OCP\IL10N;
26 26
 use Test\TestCase;
27 27
 class PasswordValidatorTest extends TestCase {
28 28
 
Please login to merge, or discard this patch.
tests/SecurityConfigTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 	}
36 36
 
37 37
 	/**
38
-	 * @param array $mockedMethods
38
+	 * @param string[] $mockedMethods
39 39
 	 * @return SecurityConfig | \PHPUnit_Framework_MockObject_MockObject
40 40
 	 */
41 41
 	private function getMockInstance($mockedMethods = []) {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
  */
21 21
 namespace OCA\Security\Tests;
22 22
 
23
-use OCA\Security\SecurityConfig;
24
-use OCP\IConfig;
23
+use OCA\Security\SecurityConfig;
24
+use OCP\IConfig;
25 25
 use Test\TestCase;
26 26
 class SecurityConfigTest extends TestCase {
27 27
 	/** @var  IConfig|\PHPUnit_Framework_MockObject_MockObject */
Please login to merge, or discard this patch.