Passed
Push — develop ( 9ab791...02b19a )
by Stone
04:00
created
src/EventSubscriber/Trick/TrickCreatedSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
         /** @var Trick $trick */
19 19
         $trick = $event->getEntity();
20 20
         $this->sendToDatabase($event);
21
-        $this->addFlash(FlashMessageCategory::SUCCESS, 'Trick ' . $trick->getName() . ' created');
21
+        $this->addFlash(FlashMessageCategory::SUCCESS, 'Trick '.$trick->getName().' created');
22 22
     }
23 23
 
24 24
     /**
Please login to merge, or discard this patch.
src/EventSubscriber/Trick/TrickDeletedSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
         /** @var Trick $trick */
19 19
         $trick = $event->getEntity();
20 20
         $this->deleteFromDatabase($event);
21
-        $this->addFlash(FlashMessageCategory::SUCCESS, 'Trick ' . $trick->getName() . ' Deleted');
21
+        $this->addFlash(FlashMessageCategory::SUCCESS, 'Trick '.$trick->getName().' Deleted');
22 22
     }
23 23
 
24 24
     /**
Please login to merge, or discard this patch.
src/DataFixtures/UserFixtures.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
         //Adding extra users
66 66
 
67
-        for($i=0; $i<10; $i++){
67
+        for ($i = 0; $i < 10; $i++) {
68 68
             $user = new User();
69 69
             $user->setEmail('user'.$i.'@localhost.com')
70 70
                 ->setUserName('user'.$i)
Please login to merge, or discard this patch.
src/Security/UserAutoLogon.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     public function autoLogon(User $user): Event
51 51
     {
52 52
         $request = $this->requestStack->getCurrentRequest();
53
-        if($request === null){
53
+        if ($request === null) {
54 54
             throw new Exception('request is null');
55 55
         }
56 56
         //Login user
Please login to merge, or discard this patch.