Completed
Push — master ( 1b8fdb...92f751 )
by
unknown
13:39 queued 11:04
created
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/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.
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.
Controller/BlockController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
             $this->flashBag->add(
62 62
                 'success',
63 63
                 $this->translator->trans(
64
-                    'sumocoders.multiuserbundle.flash.' . ($user->isBlocked() ? 'block_success' : 'unblock_success')
64
+                    'sumocoders.multiuserbundle.flash.'.($user->isBlocked() ? 'block_success' : 'unblock_success')
65 65
                 )
66 66
             );
67 67
 
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
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
             $config['redirect_routes']
28 28
         );
29 29
 
30
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
30
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31 31
         $loader->load('console.yml');
32 32
         $loader->load('controllers.yml');
33 33
         $loader->load('forms.yml');
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
@@ -57,6 +57,6 @@
 block discarded – undo
57 57
 
58 58
         $this->handler->handle($baseUserTransferObject);
59 59
 
60
-        $output->writeln($username . ' has been deleted');
60
+        $output->writeln($username.' has been deleted');
61 61
     }
62 62
 }
Please login to merge, or discard this patch.
Controller/UserController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
6 6
 use SumoCoders\FrameworkMultiUserBundle\Command\Handler;
7
-use SumoCoders\FrameworkMultiUserBundle\Form\Interfaces\FormWithDataTransferObject;
8 7
 use SumoCoders\FrameworkMultiUserBundle\User\Interfaces\UserRepository;
9 8
 use Symfony\Component\Form\Form;
10 9
 use Symfony\Component\Form\FormFactoryInterface;
Please login to merge, or discard this patch.