Test Failed
Push — develop ( 01b725...e43081 )
by Stone
04:47
created
src/Controller/Trick/Admin/EditTrickController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 
85 85
         $history = array();
86 86
         //Only load the history if we are admin. Ease the load.
87
-        if($this->isGranted('ROLE_ADMIN')){
87
+        if ($this->isGranted('ROLE_ADMIN')) {
88 88
             $history = $this->trickHistory->getHistory($trick->getId());
89 89
         }
90 90
 
Please login to merge, or discard this patch.
src/Entity/User.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      */
110 110
     public function getUsername(): string
111 111
     {
112
-        return (string)$this->userName;
112
+        return (string) $this->userName;
113 113
     }
114 114
 
115 115
     /**
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      */
137 137
     public function getPassword(): string
138 138
     {
139
-        return (string)$this->password;
139
+        return (string) $this->password;
140 140
     }
141 141
 
142 142
     public function setPassword(string $password): self
@@ -328,6 +328,6 @@  discard block
 block discarded – undo
328 328
             $this->verified,
329 329
             $this->verifiedDateTime,
330 330
             $this->updatedAt,
331
-            )=unserialize($serialized, ['allowed_classes' => false]);
331
+            ) = unserialize($serialized, ['allowed_classes' => false]);
332 332
     }
333 333
 }
Please login to merge, or discard this patch.
src/Entity/Category.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         return $this;
82 82
     }
83 83
 
84
-    public function __toString(){
84
+    public function __toString() {
85 85
         return $this->Name;
86 86
     }
87 87
 }
Please login to merge, or discard this patch.
src/Form/UserProfileFormType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,13 +9,13 @@
 block discarded – undo
9 9
 use Symfony\Component\OptionsResolver\OptionsResolver;
10 10
 use Vich\UploaderBundle\Form\Type\VichImageType;
11 11
 
12
-class UserProfileFormType extends AbstractType{
12
+class UserProfileFormType extends AbstractType {
13 13
 
14 14
     public function buildForm(FormBuilderInterface $builder, array $options)
15 15
     {
16 16
         $builder
17 17
             ->add('UserName', TextType::class)
18
-            ->add('imageFile', VichImageType::class,[
18
+            ->add('imageFile', VichImageType::class, [
19 19
                 'required' => false,
20 20
                 'allow_delete' => false,
21 21
                 'download_uri' => false,
Please login to merge, or discard this patch.
src/Form/UserChangePasswordFormType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 use Symfony\Component\Validator\Constraints\Length;
12 12
 use Symfony\Component\Validator\Constraints\NotBlank;
13 13
 
14
-class UserChangePasswordFormType extends AbstractType{
14
+class UserChangePasswordFormType extends AbstractType {
15 15
 
16 16
     public function buildForm(FormBuilderInterface $builder, array $options)
17 17
     {
Please login to merge, or discard this patch.