Skip to content

Commit e2d4dc4

Browse files
committed
fix phpcs
1 parent 0205ce2 commit e2d4dc4

4 files changed

Lines changed: 1 addition & 8 deletions

File tree

src/Model/Behavior/RegisterBehavior.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
use DateTime;
2525
use InvalidArgumentException;
2626

27-
2827
/**
2928
* Covers the user registration
3029
*/

src/Shell/UsersShell.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public function passwordEmail()
270270
/**
271271
* Change user active field
272272
*
273-
* @param $active active value
273+
* @param bool $active active value
274274
* @return bool
275275
*/
276276
protected function _changeUserActive($active)

tests/TestCase/Model/Behavior/PasswordBehaviorTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,5 +209,4 @@ public function testSendResetPasswordEmail()
209209
Router::fullBaseUrl($this->fullBaseBackup);
210210
Email::dropTransport('test');
211211
}
212-
213212
}

tests/TestCase/Shell/UsersShellTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ public function testAddUser()
111111
//TODO: Add assertions with 'out'
112112

113113
$this->Shell->runCommand(['addUser', '--username=' . $user['username'], '--password=' . $user['password'], '--email=' . $user['email']]);
114-
115114
}
116115

117116
/**
@@ -160,7 +159,6 @@ public function testAddUserWithNoParams()
160159
//TODO: Add assertions with 'out'
161160

162161
$this->Shell->runCommand(['addUser']);
163-
164162
}
165163

166164
/**
@@ -203,7 +201,6 @@ public function testAddSuperuser()
203201
->will($this->returnValue($userSaved));
204202

205203
$this->Shell->runCommand(['addSuperuser']);
206-
207204
}
208205

209206
/**
@@ -222,7 +219,6 @@ public function testResetAllPasswords()
222219
->with(['password' => 'hashedPasssword'], ['id IS NOT NULL']);
223220

224221
$this->Shell->runCommand(['resetAllPasswords', '123']);
225-
226222
}
227223

228224
/**
@@ -237,6 +233,5 @@ public function testResetAllPasswordsNoPassingParams()
237233
->with('Please enter a password.');
238234

239235
$this->Shell->runCommand(['resetAllPasswords']);
240-
241236
}
242237
}

0 commit comments

Comments
 (0)