Passed
Push — master ( d6e87c...6b1b2b )
by Florian
02:41
created
src/Security/Voter/RegistrationVoter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,6 +62,6 @@
 block discarded – undo
62 62
             }
63 63
         }
64 64
 
65
-        throw new \LogicException('Attribute '.$attribute.' unknown!');
65
+        throw new \LogicException('Attribute ' . $attribute . ' unknown!');
66 66
     }
67 67
 }
Please login to merge, or discard this patch.
src/Entity/Traits/ContactInformationTrait.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -200,16 +200,16 @@  discard block
 block discarded – undo
200 200
         $res = explode("\n", $this->getStreetAddress());
201 201
         $prefix = '';
202 202
         if (mb_strlen($this->getCountry()) > 0) {
203
-            $prefix = $this->getCountry().((mb_strlen($this->getPostalCode()) > 0) ? '-' : ' ');
203
+            $prefix = $this->getCountry() . ((mb_strlen($this->getPostalCode()) > 0) ? '-' : ' ');
204 204
         }
205 205
         if (mb_strlen($this->getPostalCode()) > 0) {
206
-            $prefix .= $this->getPostalCode().' ';
206
+            $prefix .= $this->getPostalCode() . ' ';
207 207
         }
208 208
         if (mb_strlen($this->getLocality()) > 0) {
209
-            $prefix .= $this->getLocality().' ';
209
+            $prefix .= $this->getLocality() . ' ';
210 210
         }
211 211
         if (mb_strlen($this->getCanton()) > 0) {
212
-            $prefix .= $this->getCanton().' ';
212
+            $prefix .= $this->getCanton() . ' ';
213 213
         }
214 214
         $res[] = trim($prefix);
215 215
 
@@ -225,6 +225,6 @@  discard block
 block discarded – undo
225 225
 
226 226
     public function getName()
227 227
     {
228
-        return $this->givenName.' '.$this->familyName;
228
+        return $this->givenName . ' ' . $this->familyName;
229 229
     }
230 230
 }
Please login to merge, or discard this patch.