Test Failed
Pull Request — master (#3)
by Chauncey
01:59
created
src/Charcoal/User/AbstractUser.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -519,7 +519,7 @@
 block discarded – undo
519 519
     /**
520 520
      * Validate the username or email address is unique.
521 521
      *
522
-     * @return boolean
522
+     * @return false|null
523 523
      */
524 524
     protected function validateLoginUnique()
525 525
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use InvalidArgumentException;
9 9
 
10 10
 // From 'charcoal-factory'
11
-use Charcoal\Factory\FactoryInterface;
12 11
 
13 12
 // From 'charcoal-core'
14 13
 use Charcoal\Validator\ValidatorInterface;
Please login to merge, or discard this patch.
src/Charcoal/User/Authenticator.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      *
22 22
      * @param  AuthenticatableInterface $user     The authenticated user to log in.
23 23
      * @param  boolean                  $remember Whether to "remember" the user or not.
24
-     * @return boolean Success / Failure
24
+     * @return boolean|null Success / Failure
25 25
      */
26 26
     public function login(AuthenticatableInterface $user, $remember = false)
27 27
     {
@@ -57,7 +57,6 @@  discard block
 block discarded – undo
57 57
      * Updates the user's timestamp for their last log in.
58 58
      *
59 59
      * @param  AuthenticatableInterface $user     The user to update.
60
-     * @param  string                   $password The plain-text password to hash.
61 60
      * @param  boolean                  $update   Whether to persist changes to storage.
62 61
      * @return boolean Returns TRUE if the password was changed, or FALSE otherwise.
63 62
      */
Please login to merge, or discard this patch.
src/Charcoal/User/AbstractAuthenticator.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -471,7 +471,7 @@
 block discarded – undo
471 471
 
472 472
         $this->logger->warning(sprintf(
473 473
             'Invalid login attempt for user "%s": invalid password.',
474
-             $identifier
474
+                $identifier
475 475
         ));
476 476
 
477 477
         return null;
Please login to merge, or discard this patch.