Test Setup Failed
Push — develop ( dc2cdb...883a72 )
by Stone
04:31
created
src/EventSubscriber/Trick/TrickCreatedSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     {
17 17
         $trick = $event->getEntity();
18 18
         $this->sendToDatabase($event);
19
-        $this->addFlash(FlashMessageCategory::SUCCESS, 'Trick ' . $trick->getName() . ' created');
19
+        $this->addFlash(FlashMessageCategory::SUCCESS, 'Trick '.$trick->getName().' created');
20 20
     }
21 21
 
22 22
     /**
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
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     {
17 17
         $trick = $event->getEntity();
18 18
         $this->deleteFromDatabase($event);
19
-        $this->addFlash(FlashMessageCategory::SUCCESS, 'Trick ' . $trick->getName() . ' Deleted');
19
+        $this->addFlash(FlashMessageCategory::SUCCESS, 'Trick '.$trick->getName().' Deleted');
20 20
     }
21 21
 
22 22
     /**
Please login to merge, or discard this patch.
src/EventSubscriber/Trick/TrickEditedSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     {
17 17
         $trick = $event->getEntity();
18 18
         $this->sendToDatabase($event);
19
-        $this->addFlash(FlashMessageCategory::SUCCESS, 'Trick ' . $trick->getName() . ' updated');
19
+        $this->addFlash(FlashMessageCategory::SUCCESS, 'Trick '.$trick->getName().' updated');
20 20
     }
21 21
 
22 22
     /**
Please login to merge, or discard this patch.
src/EventSubscriber/User/UserRegisteredSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
                 ),
81 81
                 'text/html'
82 82
             );
83
-        if($this->mailer->send($message)>0){
83
+        if ($this->mailer->send($message) > 0) {
84 84
             $this->addFlash(FlashMessageCategory::SUCCESS, "A validation mail has been sent to ".$user->getEmail());
85 85
             return;
86 86
         }
Please login to merge, or discard this patch.
src/Security/LoginFormAuthenticator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
         //is account email verified
90 90
         if (!$user->getVerified()) {
91 91
             //TODO : cleaner way of taking care of the account not validated. See #29
92
-            throw new CustomUserMessageAuthenticationException('Account email not verified, please use the reset password form', '',42);
92
+            throw new CustomUserMessageAuthenticationException('Account email not verified, please use the reset password form', '', 42);
93 93
         }
94 94
 
95 95
         //If we get here then all is good
Please login to merge, or discard this patch.
src/Entity/AppEntity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,6 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Entity;
4 4
 
5
-abstract class AppEntity{
5
+abstract class AppEntity {
6 6
 
7 7
 }
8 8
\ No newline at end of file
Please login to merge, or discard this patch.
src/Services/FlashMessageCategory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Services;
4 4
 
5
-class FlashMessageCategory{
5
+class FlashMessageCategory {
6 6
     //'alert', 'success', 'error', 'warning', 'info'
7 7
     const SUCCESS = 'success';
8 8
     const ALERT = 'alert';
Please login to merge, or discard this patch.