Completed
Push — master ( b50423...cc51c6 )
by
unknown
11s
created
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.
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.
Tests/Security/FormAuthenticatorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
 
84 84
     private function getCredentials($salt = 'zout', $username = 'wouter', $password = 'test')
85 85
     {
86
-        $mock = $this->getMock(FormCredentials::class, [], [$username, $password . '{' . $salt . '}']);
86
+        $mock = $this->getMock(FormCredentials::class, [], [$username, $password.'{'.$salt.'}']);
87 87
         $mock->method('getUserName')->willReturn($username);
88 88
         $mock->method('getPlainPassword')->willReturn($password);
89 89
 
Please login to merge, or discard this patch.
Tests/Command/UpdateUserHandlerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
             $this->userRepository->findByUsername('wouter')->getDisplayName()
59 59
         );
60 60
         $this->assertEquals(
61
-            'randomPassword{' . $this->userRepository->findByUsername('wouter')->getSalt() . '}',
61
+            'randomPassword{'.$this->userRepository->findByUsername('wouter')->getSalt().'}',
62 62
             $this->userRepository->findByUsername('wouter')->getPassword()
63 63
         );
64 64
         $this->assertNotEquals(
Please login to merge, or discard this patch.
Tests/Command/CreateUserHandlerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
             $this->userRepository->findByUsername('sumo')->getDisplayName()
57 57
         );
58 58
         $this->assertEquals(
59
-            'randomPassword{' . $this->userRepository->findByUsername('sumo')->getSalt() . '}',
59
+            'randomPassword{'.$this->userRepository->findByUsername('sumo')->getSalt().'}',
60 60
             $this->userRepository->findByUsername('sumo')->getPassword()
61 61
         );
62 62
         $this->assertEquals(
Please login to merge, or discard this patch.
Controller/RequestPasswordResetController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     /**
63 63
      * @param Request $request
64 64
      *
65
-     * @return array
65
+     * @return \Symfony\Component\HttpFoundation\Response
66 66
      */
67 67
     public function requestAction(Request $request)
68 68
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Symfony\Component\HttpFoundation\RedirectResponse;
14 14
 use Symfony\Component\HttpFoundation\Request;
15 15
 use Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface;
16
-use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage;
17 16
 
18 17
 final class RequestPasswordResetController
19 18
 {
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
@@ -61,6 +61,6 @@
 block discarded – undo
61 61
 
62 62
         $this->handler->handle($userTransferObject);
63 63
 
64
-        $output->writeln($userTransferObject->userName . ' has been created');
64
+        $output->writeln($userTransferObject->userName.' has been created');
65 65
     }
66 66
 }
Please login to merge, or discard this patch.
Exception/UserNotFound.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      */
15 15
     public static function withUsername($username)
16 16
     {
17
-        return new self('No user found with username "' . $username . '".');
17
+        return new self('No user found with username "'.$username.'".');
18 18
     }
19 19
 
20 20
     /**
@@ -24,6 +24,6 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public static function withToken(PasswordResetToken $token)
26 26
     {
27
-        return new self('No user found with password reset token "' . $token->getToken() . '".');
27
+        return new self('No user found with password reset token "'.$token->getToken().'".');
28 28
     }
29 29
 }
Please login to merge, or discard this patch.