Completed
Push — develop ( 037ef6...a650ad )
by Carsten
06:58
created
module/Jobs/src/Jobs/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.
module/Jobs/src/Jobs/View/Helper/JobUrl.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         if (!empty($jobEntity->getLink())) {
70 70
             $url = $jobEntity->getLink();
71 71
             $isExternalLink = true;
72
-        }elseif($options['showPendingJobs']) {
72
+        } elseif($options['showPendingJobs']) {
73 73
             $url = $urlHelper(
74 74
                 'lang/jobs/approval',
75 75
                 [],
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
                     ]
80 80
                 ], true);
81 81
 
82
-        }else{
82
+        } else{
83 83
 
84 84
             $query = [
85 85
                 'subscriberUri' => $serverUrlHelper([]) . '/subscriber/' . 1,
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
             if ($options['absolute'] && !$isExternalLink){
101 101
                 $result = $serverUrlHelper($url);
102 102
             }
103
-        }else{
103
+        } else{
104 104
             $result = sprintf('<a href="%s" rel="%s" %s>%s</a>',
105 105
                               $url,
106 106
                               $options['rel'],
Please login to merge, or discard this patch.
module/Core/src/Core/Factory/EventManager/EventManagerAbstractFactory.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -209,8 +209,7 @@
 block discarded – undo
209 209
             /* @var \Zend\EventManager\EventInterface $event */
210 210
             $event = $services->has($config['event']) ? $services->get($config['event']) : new $config['event']();
211 211
             $events->setEventPrototype($event);
212
-        }
213
-        else {
212
+        } else {
214 213
             $events->setEventClass($config['event']);
215 214
         }
216 215
 
Please login to merge, or discard this patch.
module/Core/src/Core/Mail/HTMLTemplateMessage.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@
 block discarded – undo
235 235
 
236 236
         if ($resolver->resolve($this->getTemplate() . '.' . $lang)) {
237 237
             $viewModel->setTemplate($this->getTemplate() . '.' . $lang);
238
-        }else{
238
+        } else{
239 239
             $viewModel->setTemplate($this->getTemplate());
240 240
         }
241 241
 
Please login to merge, or discard this patch.
module/Settings/src/Settings/Form/SettingsFieldset.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
             if (is_array($inputLabel)){
78 78
                 $priority = isset($inputLabel[1])?$inputLabel[1]:0;
79 79
                 $inputLabel = $inputLabel[0];
80
-            }else{
80
+            } else{
81 81
                 $priority = 0;
82 82
             }
83 83
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Controller/TemplateController.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
             $this->auth()->isAdmin()
84 84
         ) {
85 85
             $applicationViewModel->setTemplate('iframe/iFrameInjection');
86
-        }elseif(Status::EXPIRED == $job->getStatus() or  Status::INACTIVE == $job->getStatus()) {
86
+        } elseif(Status::EXPIRED == $job->getStatus() or  Status::INACTIVE == $job->getStatus()) {
87 87
             $response->setStatusCode(Response::STATUS_CODE_410);
88 88
             $model->setTemplate('jobs/error/expired');
89 89
             $model->setVariables(
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/View/Helper/ApplyUrl.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
             if($options['absolute']) {
112 112
                 $result = $serverUrlHelper($url);
113 113
             }
114
-        }else{
114
+        } else{
115 115
             $translate = $this->translateHelper;
116 116
             $result = sprintf('<a href="%s" rel="nofollow">%s</a>', $url, $translate('Apply'));
117 117
         }
Please login to merge, or discard this patch.