Completed
Push — 3.0 ( ad4164...1cd324 )
by Olivier
03:03
created
lib/Operation/SaveOperation.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,10 +11,8 @@
 block discarded – undo
11 11
 
12 12
 namespace Icybee\Modules\Users\Operation;
13 13
 
14
-use Brickrouge\Form;
15 14
 use ICanBoogie\ErrorCollection;
16 15
 use ICanBoogie\HTTP\Request;
17
-
18 16
 use Icybee\Modules\Users\Module;
19 17
 use Icybee\Modules\Users\User;
20 18
 use Icybee\Modules\Users\UserModel;
Please login to merge, or discard this patch.
lib/Operation/LoginOperation.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -91,8 +91,7 @@  discard block
 block discarded – undo
91 91
 		{
92 92
 			if ($login_unlock_time > $now)
93 93
 			{
94
-				throw new \Exception
95
-				(
94
+				throw new \Exception(
96 95
 					\ICanBoogie\format("The user account has been locked after multiple failed login attempts.
97 96
 					An e-mail has been sent to unlock the account. Login attempts are locked until %time,
98 97
 					unless you unlock the account using the email sent.", [
@@ -168,7 +167,7 @@  discard block
 block discarded – undo
168 167
 
169 168
 		if (!$user->is_admin && !$user->is_activated)
170 169
 		{
171
-			$errors->add_generic("User %username is not activated", [ '%username' => $username ]);
170
+			$errors->add_generic("User %username is not activated", ['%username' => $username]);
172 171
 
173 172
 			return false;
174 173
 		}
Please login to merge, or discard this patch.