Completed
Push — master ( a42f17...ac8b9e )
by
unknown
12s
created
Exception/UserNotFound.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,11 +9,11 @@
 block discarded – undo
9 9
 {
10 10
     public static function withUsername(string $username): self
11 11
     {
12
-        return new self('No user found with username "' . $username . '".');
12
+        return new self('No user found with username "'.$username.'".');
13 13
     }
14 14
 
15 15
     public static function withToken(PasswordResetToken $token): self
16 16
     {
17
-        return new self('No user found with password reset token "' . $token->getToken() . '".');
17
+        return new self('No user found with password reset token "'.$token->getToken().'".');
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
Security/FormAuthenticator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
 
87 87
     public function supports(Request $request)
88 88
     {
89
-        return preg_match('/\/\w{2}\/login/', $request->getRequestUri()) !== false  && $request->isMethod('POST');
89
+        return preg_match('/\/\w{2}\/login/', $request->getRequestUri()) !== false && $request->isMethod('POST');
90 90
     }
91 91
 
92 92
     protected function getLoginUrl(): string
Please login to merge, or discard this patch.
Form/EditBaseUserType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
                     'class' => 'select2',
63 63
                 ],
64 64
                 'class' => UserRole::class,
65
-                'choice_label' => function (UserRole $userRole) {
65
+                'choice_label' => function(UserRole $userRole) {
66 66
                     return $this->translator->trans($userRole);
67 67
                 },
68 68
                 'required' => false,
Please login to merge, or discard this patch.
Entity/BaseUser.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace SumoCoders\FrameworkMultiUserBundle\Entity;
4 4
 
5
-use Doctrine\Common\Collections\ArrayCollection;
6 5
 use Doctrine\Common\Collections\Collection;
7 6
 use Doctrine\ORM\Mapping as ORM;
8 7
 use Serializable;
Please login to merge, or discard this patch.
Form/AddBaseUserType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
                     'class' => 'select2',
63 63
                 ],
64 64
                 'class' => UserRole::class,
65
-                'choice_label' => function (UserRole $userRole) {
65
+                'choice_label' => function(UserRole $userRole) {
66 66
                     return $this->translator->trans($userRole);
67 67
                 },
68 68
                 'required' => false,
Please login to merge, or discard this patch.