Completed
Push — develop ( f7afa8...39c196 )
by Carsten
11s
created
module/Core/src/Core/Mail/MailServiceConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
                     $recipients->add($match[1]);
70 70
                 }
71 71
             } else {
72
-                trigger_error('invalid address format ("' . $recipient . '") in mails.develop.override_recipient', E_USER_WARNING);
72
+                trigger_error('invalid address format ("'.$recipient.'") in mails.develop.override_recipient', E_USER_WARNING);
73 73
             }
74 74
         }
75 75
         return $recipients;
Please login to merge, or discard this patch.
module/Core/src/Core/Log/Formatter/ErrorAndExceptionHandler.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -139,15 +139,15 @@  discard block
 block discarded – undo
139 139
     {
140 140
         $result = array();
141 141
         foreach ($event as $index => $value) {
142
-            $nextIndex = $key === null ? $index : $key . '[' . $index . ']';
142
+            $nextIndex = $key === null ? $index : $key.'['.$index.']';
143 143
             if ($value === null) {
144 144
                 continue;
145 145
             }
146
-            if (! is_array($value)) {
146
+            if (!is_array($value)) {
147 147
                 if ($key === null) {
148 148
                     $result[$nextIndex] = $value;
149 149
                 } else {
150
-                    if (! is_object($value) || method_exists($value, "__toString")) {
150
+                    if (!is_object($value) || method_exists($value, "__toString")) {
151 151
                         $result[$nextIndex] = $value;
152 152
                     }
153 153
                 }
@@ -196,10 +196,10 @@  discard block
 block discarded – undo
196 196
                         $val
197 197
                     );
198 198
                 }
199
-                $outputTrace .= str_repeat('-', 30) . PHP_EOL;
199
+                $outputTrace .= str_repeat('-', 30).PHP_EOL;
200 200
         
201 201
             }
202
-            $output .= "\n[Trace]\n" . $outputTrace;
202
+            $output .= "\n[Trace]\n".$outputTrace;
203 203
         }
204 204
         
205 205
         return $output;
Please login to merge, or discard this patch.
module/Auth/src/Auth/Entity/UserImage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public function getUri()
31 31
     {
32
-        return '/file/Auth.UserImage/' . $this->id;
32
+        return '/file/Auth.UserImage/'.$this->id;
33 33
     }
34 34
 
35 35
     /**
Please login to merge, or discard this patch.
module/Auth/src/Auth/Entity/Filter/CredentialFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     
10 10
     public function filter($value)
11 11
     {
12
-        $weird = sha1(md5($value) . md5(strrev($value)));
12
+        $weird = sha1(md5($value).md5(strrev($value)));
13 13
         return $weird;
14 14
     }
15 15
 }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Entity/AnonymousUser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     public function getId()
74 74
     {
75 75
         if (!$this->id) {
76
-            $this->setId('token:' . $this->getToken());
76
+            $this->setId('token:'.$this->getToken());
77 77
         }
78 78
         return $this->id;
79 79
     }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Entity/Info.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      */
132 132
     public function setBirthDay($birthDay)
133 133
     {
134
-        $this->birthDay=$birthDay;
134
+        $this->birthDay = $birthDay;
135 135
         return $this;
136 136
     }
137 137
 
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      */
153 153
     public function setBirthMonth($birthMonth)
154 154
     {
155
-        $this->birthMonth=$birthMonth;
155
+        $this->birthMonth = $birthMonth;
156 156
         return $this;
157 157
     }
158 158
 
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
      */
174 174
     public function setBirthYear($birthYear)
175 175
     {
176
-        $this->birthYear=$birthYear;
176
+        $this->birthYear = $birthYear;
177 177
         return $this;
178 178
     }
179 179
 
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      */
195 195
     public function setEmail($email)
196 196
     {
197
-        $this->email = trim((String)$email);
197
+        $this->email = trim((String) $email);
198 198
         return $this;
199 199
     }
200 200
 
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
      */
238 238
     public function setFirstName($firstName)
239 239
     {
240
-        $this->firstName = trim((String)$firstName);
240
+        $this->firstName = trim((String) $firstName);
241 241
         return $this;
242 242
     }
243 243
 
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
      */
260 260
     public function setGender($gender)
261 261
     {
262
-        $this->gender = trim((String)$gender);
262
+        $this->gender = trim((String) $gender);
263 263
         return $this;
264 264
     }
265 265
 
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
      */
281 281
     public function setHouseNumber($houseNumber)
282 282
     {
283
-        $this->houseNumber=$houseNumber;
283
+        $this->houseNumber = $houseNumber;
284 284
         return $this;
285 285
     }
286 286
 
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
         if (!$this->lastName) {
321 321
             return $emailIfEmpty ? $this->email : '';
322 322
         }
323
-        return ($this->firstName ? $this->firstName . ' ' : '') . $this->lastName;
323
+        return ($this->firstName ? $this->firstName.' ' : '').$this->lastName;
324 324
     }
325 325
     
326 326
     /**
@@ -414,7 +414,7 @@  discard block
 block discarded – undo
414 414
      */
415 415
     public function setStreet($street)
416 416
     {
417
-        $this->street=$street;
417
+        $this->street = $street;
418 418
         return $this;
419 419
     }
420 420
 
Please login to merge, or discard this patch.
module/Auth/src/Auth/Entity/Group.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
     
98 98
     public function getPermissionsResourceId()
99 99
     {
100
-        return 'group:' . $this->getId();
100
+        return 'group:'.$this->getId();
101 101
     }
102 102
     
103 103
     /**
Please login to merge, or discard this patch.
module/Auth/src/Auth/Entity/SocialProfiles/LinkedIn.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,10 +36,10 @@  discard block
 block discarded – undo
36 36
     {
37 37
         $return = array();
38 38
         if (isset($data['start-date'])) {
39
-            $return['startDate'] = $data['start-date']['year'] . '-' . $data['start-date']['month'] . '-' . $data['start-date']['day'];
39
+            $return['startDate'] = $data['start-date']['year'].'-'.$data['start-date']['month'].'-'.$data['start-date']['day'];
40 40
         }
41 41
         if (isset($data['end-date'])) {
42
-            $return['endDate'] = $data['end-date']['year'] . '-' . $data['end-date']['month'] . '-' . $data['end-date']['day'];
42
+            $return['endDate'] = $data['end-date']['year'].'-'.$data['end-date']['month'].'-'.$data['end-date']['day'];
43 43
         }
44 44
         if (isset($data['school-name'])) {
45 45
             $return['organizationName'] = $data['school-name'];
@@ -56,10 +56,10 @@  discard block
 block discarded – undo
56 56
             $data = $data['positions'][0];
57 57
 
58 58
             if (isset($data['start-date'])) {
59
-                $return['startDate'] = $data['start-date']['year'] . '-' . $data['start-date']['month'] . '-' . $data['start-date']['day'];
59
+                $return['startDate'] = $data['start-date']['year'].'-'.$data['start-date']['month'].'-'.$data['start-date']['day'];
60 60
             }
61 61
             if (isset($data['end-date'])) {
62
-                $return['endDate'] = $data['end-date']['year'] . '-' . $data['end-date']['month'] . '-' . $data['end-date']['day'];
62
+                $return['endDate'] = $data['end-date']['year'].'-'.$data['end-date']['month'].'-'.$data['end-date']['day'];
63 63
             } elseif (isset($data['is-current']) && 'true' == $data['is-current']) {
64 64
                 $return['currentIndicator'] = true;
65 65
             }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Entity/SocialProfiles/AbstractProfile.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -223,13 +223,13 @@  discard block
 block discarded – undo
223 223
         $collection = new ArrayCollection();
224 224
         $key        = $this->config[$type]['key'];
225 225
         $hydrator   = $this->getHydrator($type);
226
-        $filter     = 'filter' . rtrim($type, 's');
226
+        $filter     = 'filter'.rtrim($type, 's');
227 227
         $entity     = $this->getEntity($type);
228 228
         $dataArray  = $this->getData($key);
229 229
         
230 230
         if ($dataArray) {
231 231
             foreach ($dataArray as $data) {
232
-                $data    = $this->$filter($data);
232
+                $data = $this->$filter($data);
233 233
                 if (!count($data)) {
234 234
                     continue;
235 235
                 }
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
     {
285 285
         $entity = isset($this->config[$type]['entity'])
286 286
                 ? $this->config[$type]['entity']
287
-                : '\Cv\Entity\\'. ucfirst(rtrim($type, 's'));
287
+                : '\Cv\Entity\\'.ucfirst(rtrim($type, 's'));
288 288
         
289 289
         if (is_string($entity)) {
290 290
             $this->config[$type]['entity'] = $entity = new $entity();
Please login to merge, or discard this patch.