Passed
Push — master ( 786b21...4a8f5f )
by Stone
06:47 queued 42s
created
src/FlashMessage/AddFlashTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface;
6 6
 
7
-trait AddFlashTrait{
7
+trait AddFlashTrait {
8 8
 
9 9
     private $flashBag;
10 10
 
Please login to merge, or discard this patch.
src/EventSubscriber/Exception/RedirectExceptionSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         if ($event->getException() instanceof RedirectException) {
31 31
             $redirectResponse = new RedirectResponse($event->getException()->getRedirectResponse());
32 32
 
33
-            if($event->getException()->getMessage() !== ""){
33
+            if ($event->getException()->getMessage() !== "") {
34 34
                 $this->addFlash(FlashMessageCategory::ERROR, $event->getException()->getMessage());
35 35
             }
36 36
 
Please login to merge, or discard this patch.
src/Exception/RedirectException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         return $this->redirectResponse;
31 31
     }
32 32
 
33
-    public function getRedirectMessage(){
33
+    public function getRedirectMessage() {
34 34
         return $this->redirectMessage;
35 35
     }
36 36
 
Please login to merge, or discard this patch.
src/History/TrickHistory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      * @param $historyId
39 39
      * Revert a trick to a history checkpoint.
40 40
      */
41
-    public function revertToHistory($id, $historyId){
41
+    public function revertToHistory($id, $historyId) {
42 42
         $trick = $this->em->find('App\Entity\Trick', $id);
43 43
         $this->repo->revert($trick, $historyId);
44 44
         $this->em->persist($trick);
Please login to merge, or discard this patch.