Completed
Pull Request — master (#13)
by
unknown
02:35
created
User/User.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function getRoles()
32 32
     {
33
-        return [ 'ROLE_USER' ];
33
+        return ['ROLE_USER'];
34 34
     }
35 35
 
36 36
     /**
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
     }
135 135
 
136 136
     /**
137
-     * @return string
137
+     * @return PasswordResetToken
138 138
      */
139 139
     public function getPasswordResetToken()
140 140
     {
Please login to merge, or discard this patch.
DependencyInjection/SumoCodersFrameworkMultiUserExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     public function load(array $configs, ContainerBuilder $container)
21 21
     {
22
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
22
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
23 23
         $loader->load('services.yml');
24 24
     }
25 25
 }
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
                     ])
21 21
                     ->useAttributeAsKey('class')
22 22
                     ->prototype('array')
23
-                        ->beforeNormalization()->ifString()->then(function ($v) {
23
+                        ->beforeNormalization()->ifString()->then(function($v) {
24 24
                             return ['route' => $v];
25 25
                         })->end()
26 26
                         ->children()
Please login to merge, or discard this patch.
Tests/Security/FormAuthenticatorTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use SumoCoders\FrameworkMultiUserBundle\Security\ObjectUserProvider;
9 9
 use SumoCoders\FrameworkMultiUserBundle\User\InMemoryUserRepository;
10 10
 use SumoCoders\FrameworkMultiUserBundle\User\User;
11
-use Symfony\Bundle\FrameworkBundle\Routing\Router;
12 11
 use Symfony\Component\HttpFoundation\Request;
13 12
 use Symfony\Component\HttpFoundation\Session\Session;
14 13
 use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage;
Please login to merge, or discard this patch.
Security/PasswordResetToken.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      */
55 55
     public static function generate()
56 56
     {
57
-        $token = time() . base64_encode(random_bytes(10));
57
+        $token = time().base64_encode(random_bytes(10));
58 58
 
59 59
         return new self($token);
60 60
     }
Please login to merge, or discard this patch.
Console/DeleteUserCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,6 +44,6 @@
 block discarded – undo
44 44
 
45 45
         $handler->handle($command);
46 46
 
47
-        $output->writeln($username . ' has been deleted');
47
+        $output->writeln($username.' has been deleted');
48 48
     }
49 49
 }
Please login to merge, or discard this patch.
Controller/PasswordResetController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
                 );
42 42
                 $form->addError(new FormError($errorMessage));
43 43
 
44
-                return [ 'form' => $form->createView() ];
44
+                return ['form' => $form->createView()];
45 45
             }
46 46
         }
47 47
 
Please login to merge, or discard this patch.
Console/CreateUserCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,6 +65,6 @@
 block discarded – undo
65 65
 
66 66
         $this->handler->handle($baseUserTransferObject);
67 67
 
68
-        $output->writeln($baseUserTransferObject->userName . ' has been created');
68
+        $output->writeln($baseUserTransferObject->userName.' has been created');
69 69
     }
70 70
 }
Please login to merge, or discard this patch.