Completed
Push — develop ( 8b432d...18f015 )
by Mathias
05:26
created
module/Core/src/Core/Repository/Filter/PropertyToKeywords.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
             $entity = $value;
24 24
             $value = array();
25 25
             foreach ($entity->getSearchableProperties() as $name) {
26
-                $result = $entity->{'get' .$name}();
26
+                $result = $entity->{'get'.$name}();
27 27
                 if (is_array($result)) {
28 28
                     $value = array_merge($value, $result);
29 29
                 } else {
@@ -48,8 +48,8 @@  discard block
 block discarded – undo
48 48
         $innerPattern = StringUtils::hasPcreUnicodeSupport()
49 49
                       ? '[^\p{L}]'
50 50
                       : '[^a-z0-9ßäöü ]';
51
-        $pattern      = '~' . $innerPattern . '~isu';
52
-        $stripPattern = '~^' . $innerPattern . '+|' . $innerPattern . '+$~isu';
51
+        $pattern      = '~'.$innerPattern.'~isu';
52
+        $stripPattern = '~^'.$innerPattern.'+|'.$innerPattern.'+$~isu';
53 53
         $parts     = array();
54 54
         $textParts = explode(' ', $string);
55 55
         foreach ($textParts as $part) {
Please login to merge, or discard this patch.
module/Core/src/Core/Form/RatingFieldset.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,11 +49,11 @@
 block discarded – undo
49 49
         $properties = $refl->getProperties();
50 50
         
51 51
         foreach ($properties as $property) {
52
-            $name  = $property->getName();
52
+            $name = $property->getName();
53 53
             if ('_' == $name{0}) {
54 54
                 continue;
55 55
             }
56
-            $value = $rating->{'get' . $name}();
56
+            $value = $rating->{'get'.$name}();
57 57
             $input = array(
58 58
                 'type' => 'Core/Rating',
59 59
                 'name' => $name,
Please login to merge, or discard this patch.
src/Jobs/Form/Hydrator/Strategy/JobDescriptionQualificationsStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     {
19 19
         /* @var \Jobs\Entity\Job $value */
20 20
         $result = null;
21
-        if (method_exists($value,'getTemplateValues')) {
21
+        if (method_exists($value, 'getTemplateValues')) {
22 22
             $result = $value->getTemplateValues()->getQualifications();
23 23
         }
24 24
         return $result;
Please login to merge, or discard this patch.
module/Applications/src/Applications/Repository/Application.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -102,9 +102,9 @@  discard block
 block discarded – undo
102 102
     {
103 103
         $qb = $this->getPaginationQueryBuilder($params);
104 104
         $cursor = $qb->hydrate(false)
105
-                     ->select('_id')
106
-                     ->getQuery()
107
-                     ->execute();
105
+                        ->select('_id')
106
+                        ->getQuery()
107
+                        ->execute();
108 108
         
109 109
         $list = new PaginationList(array_keys(ArrayUtils::iteratorToArray($cursor)));
110 110
         return $list;
@@ -133,8 +133,8 @@  discard block
 block discarded – undo
133 133
     {
134 134
         $auth=$this->getService('AuthenticationService');
135 135
         $qb=$this->createQueryBuilder()
136
-                  ->field("readBy")->notIn(array($auth->getUser()->getId()))
137
-                  ->field("job")->equals(new \MongoId($job->getId()));
136
+                    ->field("readBy")->notIn(array($auth->getUser()->getId()))
137
+                    ->field("job")->equals(new \MongoId($job->getId()));
138 138
         return $qb->getQuery()->execute();
139 139
     }
140 140
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,8 +131,8 @@
 block discarded – undo
131 131
      */
132 132
     public function loadUnreadApplicationsForJob($job)
133 133
     {
134
-        $auth=$this->getService('AuthenticationService');
135
-        $qb=$this->createQueryBuilder()
134
+        $auth = $this->getService('AuthenticationService');
135
+        $qb = $this->createQueryBuilder()
136 136
                   ->field("readBy")->notIn(array($auth->getUser()->getId()))
137 137
                   ->field("job")->equals(new \MongoId($job->getId()));
138 138
         return $qb->getQuery()->execute();
Please login to merge, or discard this patch.
src/Organizations/Entity/Hydrator/Strategy/OrganizationNameStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     public function extract($value)
35 35
     {
36 36
         $name = '';
37
-        if (method_exists($value,"getName")) {
37
+        if (method_exists($value, "getName")) {
38 38
             $name = $value->getName();
39 39
         }
40 40
         return $name;
Please login to merge, or discard this patch.
module/Cv/src/Cv/Repository/Event/DeleteRemovedAttachmentsSubscriber.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@
 block discarded – undo
44 44
         $fileId = new \MongoId($file->getId());
45 45
         $dm = $eventArgs->getDocumentManager();
46 46
         $dm->createQueryBuilder('Cv\Entity\Cv')
47
-           ->update()->multiple(true)
48
-           ->field('attachments')->equals($fileId)->pull($fileId)
49
-           ->getQuery()->execute();
47
+            ->update()->multiple(true)
48
+            ->field('attachments')->equals($fileId)->pull($fileId)
49
+            ->getQuery()->execute();
50 50
     }
51 51
 }
Please login to merge, or discard this patch.
module/Cv/src/Cv/Entity/Attachment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,6 +32,6 @@
 block discarded – undo
32 32
      */
33 33
     public function getUri()
34 34
     {
35
-        return "/file/Cv.Attachment/" . $this->getId() . "/" .urlencode($this->name);
35
+        return "/file/Cv.Attachment/".$this->getId()."/".urlencode($this->name);
36 36
     }
37 37
 }
Please login to merge, or discard this patch.
module/Auth/src/Auth/View/Helper/Auth.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,8 +97,8 @@
 block discarded – undo
97 97
             $value = null;
98 98
             $service = $this->getService();
99 99
             $user    = $service->getUser();
100
-            if (method_exists($user,"get".$property)) {
101
-                $value = $user->{"get" . $property}();
100
+            if (method_exists($user, "get".$property)) {
101
+                $value = $user->{"get".$property}();
102 102
             }
103 103
             return $value;
104 104
         } catch (\OutOfBoundsException $e) {
Please login to merge, or discard this patch.
module/Auth/src/Auth/Controller/Plugin/Auth.php 3 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
                 }
93 93
                 return $value;
94 94
             }
95
-            return 'id' == $property ? $auth->getIdentity() : $auth->getUser()->{'get' . $property}();
95
+            return 'id' == $property ? $auth->getIdentity() : $auth->getUser()->{'get'.$property}();
96 96
         }
97 97
         return null;
98 98
     }
Please login to merge, or discard this patch.
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,6 @@
 block discarded – undo
99 99
     }
100 100
     
101 101
     /**
102
-     * @param ControllerManager $controllerManager
103 102
      * @return \Auth\Controller\Plugin\Auth
104 103
      */
105 104
     public static function factory(ServiceManager $sm)
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
      */
105 105
     public static function factory(ServiceManager $sm)
106 106
     {
107
-    	//$manager = $sm->get('ControllerManager');
107
+        //$manager = $sm->get('ControllerManager');
108 108
         return new static($sm->get('AuthenticationService'));
109 109
     }
110 110
 }
Please login to merge, or discard this patch.