Completed
Push — develop ( 911e58...200791 )
by Carsten
13s
created
module/Auth/src/Auth/Controller/ManageController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,8 +96,7 @@
 block discarded – undo
96 96
                     'content' => $content,
97 97
                     )
98 98
                 );
99
-            }
100
-            elseif ($postProfiles) {
99
+            } elseif ($postProfiles) {
101 100
                 $formSocialProfiles->setData($this->params()->fromPost());
102 101
                 
103 102
                 if ($formSocialProfiles->isValid()) {
Please login to merge, or discard this patch.
module/Auth/src/Auth/Controller/IndexController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -411,8 +411,7 @@
 block discarded – undo
411 411
                     } else {
412 412
                         $notFoundUsers[] = $grp_member . $loginSuffix;
413 413
                     }
414
-                }
415
-                catch (\Auth\Exception\UserDeactivatedException $e)
414
+                } catch (\Auth\Exception\UserDeactivatedException $e)
416 415
                 {
417 416
                     $notFoundUsers[] = $grp_member . $loginSuffix;
418 417
                 }
Please login to merge, or discard this patch.
module/Behat/src/SummaryFormContext.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 		$method = 'iSave'.$type;
73 73
 		if(method_exists($this,$method)){
74 74
 			call_user_func([$this,$method]);
75
-		}else{
75
+		} else{
76 76
 			$locator = $this->elementMap[$type].'-buttons-submit';
77 77
 			$this->coreContext->scrollIntoView($locator);
78 78
 			$element = $this->minkContext->getSession()->getPage()->find('css',$locator);
Please login to merge, or discard this patch.
module/Behat/src/JobContext.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
 		$element = $page->find('css',$mapMultiple[$field]);
185 185
 		if(!is_null($element) && $element->getAttribute('multiple')=='multiple'){
186 186
 			$this->minkContext->selectOption($value,$multipleField);
187
-		}else{
187
+		} else{
188 188
 			$locator = $mapSelect2[$field];
189 189
 			$this->select2Context->iFillInSelect2Field($locator,$value);
190 190
 		}
@@ -247,14 +247,14 @@  discard block
 block discarded – undo
247 247
             if($user instanceof User){
248 248
                 $job->setUser($user);
249 249
                 $job->setOrganization($organization);
250
-            }else{
250
+            } else{
251 251
                 throw new \Exception('There is no user with this login:"'.$normalizedField['user'.'"']);
252 252
             }
253 253
         }
254 254
 
255 255
         if($status == 'draft'){
256 256
             $job->setIsDraft(true);
257
-        }elseif($status == 'published'){
257
+        } elseif($status == 'published'){
258 258
             $job->setIsDraft(false);
259 259
             $job->setDatePublishStart(new \DateTime());
260 260
         }
Please login to merge, or discard this patch.
module/Behat/src/OrganizationContext.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
     {
191 191
         if(is_null($name)){
192 192
             $organization = $this->getUserContext()->getCurrentUser()->getOrganization()->getOrganization();
193
-        }else{
193
+        } else{
194 194
             $organization = $this->findOrganizationByName($name);
195 195
         }
196 196
         $url = $this->buildUrl('lang/organizations/profileDetail',[
Please login to merge, or discard this patch.
module/Install/src/Controller/Plugin/UserCreator.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
         $result = true;
83 83
         try{
84 84
             $repo->store($user);
85
-        }catch (\Exception $e){
85
+        } catch (\Exception $e){
86 86
             throw $e;
87 87
         }
88 88
         return $result;
Please login to merge, or discard this patch.
module/Organizations/src/Auth/Dependency/ListListener.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,9 +60,11 @@
 block discarded – undo
60 60
     {
61 61
         $items = [];
62 62
         
63
-        foreach ($this->repository->getUserOrganizations($user->getId(), $limit) as $organization) /* @var $organization \Organizations\Entity\Organization */
63
+        foreach ($this->repository->getUserOrganizations($user->getId(), $limit) as $organization) {
64
+            /* @var $organization \Organizations\Entity\Organization */
64 65
         {
65 66
             $name = $organization->getOrganizationName();
67
+        }
66 68
             $title = $name ? $name->getName() : '**** DRAFT ****';
67 69
             $url = $view->url('lang/organizations/edit', ['id' => $organization->getId()]);
68 70
             $items[] = new ListItem($title, $url);
Please login to merge, or discard this patch.
module/Organizations/src/Auth/Dependency/EmployeeListListener.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,9 +54,11 @@
 block discarded – undo
54 54
             return $items;
55 55
         }
56 56
         
57
-        foreach ($employees->slice(0, $limit) as $employee) /* @var $employee \Organizations\Entity\Employee */
57
+        foreach ($employees->slice(0, $limit) as $employee) {
58
+            /* @var $employee \Organizations\Entity\Employee */
58 59
         {
59 60
             $info = $employee->getUser()->getInfo();
61
+        }
60 62
             $title = $info->getDisplayName();
61 63
             $items[] = new ListItem($title);
62 64
         }
Please login to merge, or discard this patch.
module/Jobs/src/Auth/Dependency/ListListener.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,9 +60,11 @@
 block discarded – undo
60 60
     {
61 61
         $items = [];
62 62
         
63
-        foreach ($this->repository->getUserJobs($user->getId(), $limit) as $job) /* @var $job \Jobs\Entity\Job */
63
+        foreach ($this->repository->getUserJobs($user->getId(), $limit) as $job) {
64
+            /* @var $job \Jobs\Entity\Job */
64 65
         {
65 66
             $title = $job->getTitle() ?: $view->translate('untitled');
67
+        }
66 68
             $title .= ' ('. $view->dateFormat($job->getDateCreated(), 'short', 'none') . ')';
67 69
             $url = $view->url('lang/jobs/manage', ['action' => 'edit'], [
68 70
                 'query' => [
Please login to merge, or discard this patch.