Completed
Push — master ( 1c63e2...fe75f3 )
by
02:53
created
Doctrine/ORM/UserRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -226,12 +226,12 @@
 block discarded – undo
226 226
         if (count($paths) > 1) {
227 227
             $queryBuilder
228 228
                 ->join($this->getPropertyName($paths[0]), '_p1')
229
-                ->where('_p1.' . $paths[1] . ' = :value')
229
+                ->where('_p1.'.$paths[1].' = :value')
230 230
                 ->setParameter('value', $value)
231 231
             ;
232 232
         } else {
233 233
             $queryBuilder
234
-                ->where($this->getPropertyName($propertyPath) . ' = :value')
234
+                ->where($this->getPropertyName($propertyPath).' = :value')
235 235
                 ->setParameter('value', $value)
236 236
             ;
237 237
         }
Please login to merge, or discard this patch.
OAuth/ResourceResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     {
72 72
         $gender = CustomerInterface::UNKNOWN_GENDER;
73 73
 
74
-        switch($this->getPathValue('gender')) {
74
+        switch ($this->getPathValue('gender')) {
75 75
             case 'male':
76 76
                 $gender = CustomerInterface::MALE_GENDER;
77 77
                 break;
Please login to merge, or discard this patch.
Model/User.php 1 patch
Spacing   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -62,8 +62,8 @@  discard block
 block discarded – undo
62 62
     {
63 63
         $this->roles = array(self::DEFAULT_ROLE);
64 64
 
65
-        foreach($this->authorizationRoles as $role) {
66
-            foreach($role->getSecurityRoles() as $r) {
65
+        foreach ($this->authorizationRoles as $role) {
66
+            foreach ($role->getSecurityRoles() as $r) {
67 67
                 $this->roles[] = $r;
68 68
             }
69 69
         }
@@ -84,8 +84,7 @@  discard block
 block discarded – undo
84 84
     {
85 85
         $customer = $this->getCustomer();
86 86
 
87
-        return $this->displayname ?:
88
-            (
87
+        return $this->displayname ?: (
89 88
                 $customer && trim($customer->getFullName())
90 89
                 ? $customer->getFullName()
91 90
                 : $this->username
@@ -136,7 +135,7 @@  discard block
 block discarded – undo
136 135
      */
137 136
     public function getMediaPath()
138 137
     {
139
-        return '/user/' . $this->usernameCanonical;
138
+        return '/user/'.$this->usernameCanonical;
140 139
     }
141 140
 
142 141
     /**
@@ -213,7 +212,7 @@  discard block
 block discarded – undo
213 212
      */
214 213
     public function setEnabled($boolean)
215 214
     {
216
-        $this->enabled = (Boolean)$boolean;
215
+        $this->enabled = (Boolean) $boolean;
217 216
 
218 217
         if (!$this->isConfirmed()) {
219 218
             $this->enabled = false;
Please login to merge, or discard this patch.