Completed
Push — master ( f2b1e5...d845e3 )
by
03:21
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   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -98,8 +98,7 @@  discard block
 block discarded – undo
98 98
     {
99 99
         $customer = $this->getCustomer();
100 100
 
101
-        return $this->displayname ?:
102
-            (
101
+        return $this->displayname ?: (
103 102
                 $customer && trim($customer->getFullName())
104 103
                 ? $customer->getFullName()
105 104
                 : $this->username
@@ -150,7 +149,7 @@  discard block
 block discarded – undo
150 149
      */
151 150
     public function getMediaPath()
152 151
     {
153
-        return '/user/' . $this->usernameCanonical;
152
+        return '/user/'.$this->usernameCanonical;
154 153
     }
155 154
 
156 155
     /**
@@ -227,7 +226,7 @@  discard block
 block discarded – undo
227 226
      */
228 227
     public function setEnabled($boolean)
229 228
     {
230
-        $this->enabled = (Boolean)$boolean;
229
+        $this->enabled = (Boolean) $boolean;
231 230
 
232 231
         if (!$this->isConfirmed()) {
233 232
             $this->enabled = false;
Please login to merge, or discard this patch.
EventListener/UserAclListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             }
39 39
 
40 40
             if (!$owner = $entity->getAclOwner()) {
41
-                throw new \RuntimeException("Not found AclOwner for: " . get_class($entity));
41
+                throw new \RuntimeException("Not found AclOwner for: ".get_class($entity));
42 42
             }
43 43
 
44 44
             $this->container->get('oneup_acl.manager')
Please login to merge, or discard this patch.