Completed
Push — SF4 ( fee8de...f28f6b )
by Laurent
06:47
created
src/Migrations/Version20180429170836.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace DoctrineMigrations;
4 4
 
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
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 
33 33
         // transform the role hierarchy in a single unique list
34 34
         $roles = array();
35
-        array_walk_recursive($hierarchy, function ($role) use (&$roles) {
35
+        array_walk_recursive($hierarchy, function($role) use (&$roles) {
36 36
             $roles[$role] = $role;
37 37
         });
38 38
 
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
@@ -319,6 +319,6 @@
 block discarded – undo
319 319
      */
320 320
     public function getCompleteAddress()
321 321
     {
322
-        return $this->address . '<br>' . $this->zipcode . ' ' . $this->town;
322
+        return $this->address.'<br>'.$this->zipcode.' '.$this->town;
323 323
     }
324 324
 }
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
@@ -84,6 +84,6 @@
 block discarded – undo
84 84
      */
85 85
     public function getName()
86 86
     {
87
-        return (number_format($this->getRate() * 100, 1)) . ' %';
87
+        return (number_format($this->getRate() * 100, 1)).' %';
88 88
     }
89 89
 }
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
@@ -255,12 +255,12 @@
 block discarded – undo
255 255
         $return = '';
256 256
         if ($this->parent !== null) {
257 257
             if ($this->level == 2) {
258
-                $return = '|-- ' . $this->name;
258
+                $return = '|-- '.$this->name;
259 259
             } elseif ($this->level == 3) {
260
-                $return = '|-- |-- ' . $this->name;
260
+                $return = '|-- |-- '.$this->name;
261 261
             }
262 262
         } else {
263
-            $return = '| ' . $this->name;
263
+            $return = '| '.$this->name;
264 264
         }
265 265
 
266 266
         return $return;
Please login to merge, or discard this patch.
src/Form/Type/FamilyLogSelectType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     {
32 32
         $resolver->setDefaults(
33 33
             ['class' => 'App:Settings\Diverse\FamilyLog',
34
-                'query_builder' => function (EntityRepository $er) {
34
+                'query_builder' => function(EntityRepository $er) {
35 35
                     return $er->createQueryBuilder('f')
36 36
                         ->orderBy('f.path', 'ASC');
37 37
                 }]
Please login to merge, or discard this patch.