Completed
Pull Request — SF4 (#92)
by Laurent
08:42 queued 02:42
created
src/Form/Type/FamilyLogSelectType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         $resolver->setDefaults(
16 16
             ['class' => FamilyLog::class,
17
-                'query_builder' => function (EntityRepository $er) {
17
+                'query_builder' => function(EntityRepository $er) {
18 18
                     return $er->createQueryBuilder('f')
19 19
                         ->orderBy('f.path', 'ASC');
20 20
                 }]
Please login to merge, or discard this patch.
src/Controller/SecurityController.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
     public function registration(Request $request, UserPasswordEncoderInterface $encoder): Response
19 19
     {
20 20
         $user = new User2();
21
-        $form = $this->createForm(RegistrationType::class, $user, ['roles' => $this->getExistingRoles(),]);
21
+        $form = $this->createForm(RegistrationType::class, $user, ['roles' => $this->getExistingRoles(), ]);
22 22
 
23 23
         $form->handleRequest($request);
24 24
 
Please login to merge, or discard this patch.
src/Controller/UserController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
         // transform the role hierarchy in a single unique list
17 17
         $roles = array();
18
-        array_walk_recursive($hierarchy, static function ($role) use (&$roles) {
18
+        array_walk_recursive($hierarchy, static function($role) use (&$roles) {
19 19
             $roles[$role] = $role;
20 20
         });
21 21
 
Please login to merge, or discard this patch.
src/Entity/Settings/Diverse/Tva.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
     public function getName(): string
47 47
     {
48
-        return (number_format($this->getRate() * 100, 1)) . ' %';
48
+        return (number_format($this->getRate() * 100, 1)).' %';
49 49
     }
50 50
 
51 51
     public function __toString(): string
Please login to merge, or discard this patch.
src/Entity/Settings/Diverse/FamilyLog.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -157,12 +157,12 @@
 block discarded – undo
157 157
         $return = '';
158 158
         if ($this->parent !== null) {
159 159
             if ($this->level === 2) {
160
-                $return = '|-- ' . $this->name;
160
+                $return = '|-- '.$this->name;
161 161
             } elseif ($this->level === 3) {
162
-                $return = '|-- |-- ' . $this->name;
162
+                $return = '|-- |-- '.$this->name;
163 163
             }
164 164
         } else {
165
-            $return = '| ' . $this->name;
165
+            $return = '| '.$this->name;
166 166
         }
167 167
 
168 168
         return $return;
Please login to merge, or discard this patch.
src/Entity/Settings/Article.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -161,9 +161,9 @@
 block discarded – undo
161 161
         $this->zoneStorages = new ArrayCollection();
162 162
         $this->active = true;
163 163
         $this->quantity = 0.000;
164
-        $this->createAt = new \DateTimeImmutable() ;
165
-        $this->updateAt = new \DateTimeImmutable() ;
166
-        $this->deleteAt = new \DateTimeImmutable('3000-12-31') ;
164
+        $this->createAt = new \DateTimeImmutable();
165
+        $this->updateAt = new \DateTimeImmutable();
166
+        $this->deleteAt = new \DateTimeImmutable('3000-12-31');
167 167
     }
168 168
 
169 169
     public function getId(): int
Please login to merge, or discard this patch.
src/Entity/Contact.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,6 +196,6 @@
 block discarded – undo
196 196
 
197 197
     public function getCompleteAddress(): string
198 198
     {
199
-        return $this->address . '<br>' . $this->zipcode . ' ' . $this->town;
199
+        return $this->address.'<br>'.$this->zipcode.' '.$this->town;
200 200
     }
201 201
 }
Please login to merge, or discard this patch.