Completed
Pull Request — develop (#259)
by ANTHONIUS
09:01
created
module/Core/src/Core/Form/TextSearchForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
         $elements = $this->elementsFieldset;
67 67
 
68 68
         if (!is_object($elements)) {
69
-            $elements = ['type' => $elements, 'options' => $this->getOption('elements_options') ? : []];
69
+            $elements = ['type' => $elements, 'options' => $this->getOption('elements_options') ?: []];
70 70
 
71 71
         }
72 72
 
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/SearchForm.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      * @param array $colMap
34 34
      * @return Form|string
35 35
      */
36
-    public function __invoke(FormInterface $form = null, $colMap=null)
36
+    public function __invoke(FormInterface $form = null, $colMap = null)
37 37
     {
38 38
         if (!$form) {
39 39
             return $this;
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         return $this->render($form, $colMap);
43 43
     }
44 44
 
45
-    public function render(FormInterface $form, $colMap=null, $buttonsSpan = null)
45
+    public function render(FormInterface $form, $colMap = null, $buttonsSpan = null)
46 46
     {
47 47
         $headscript = $this->getView()->plugin('headscript');
48 48
         $basepath   = $this->getView()->plugin('basepath');
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
         }
56 56
 
57 57
         if ($form instanceOf ViewPartialProviderInterface) {
58
-            return $this->getView()->partial($form->getViewPartial(), [ 'element' => $form, 'colMap' => $colMap, 'buttonsSpan' => $buttonsSpan ]);
58
+            return $this->getView()->partial($form->getViewPartial(), ['element' => $form, 'colMap' => $colMap, 'buttonsSpan' => $buttonsSpan]);
59 59
         }
60 60
 
61 61
         $elements = $form->getElements();
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 
66 66
         return $this->openTag($form)
67 67
              . '<div class="row" style="padding: 0 15px;">'
68
-             . $content . '</div>' . $this->closeTag();
68
+             . $content.'</div>'.$this->closeTag();
69 69
 
70 70
     }
71 71
 
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     public function renderElements($fieldset, $buttonsFieldset, $colMap = null, $buttonsSpan = null)
78 78
     {
79 79
         if ($fieldset instanceOf ViewPartialProviderInterface) {
80
-            return $this->getView()->partial($fieldset->getViewPartial(), [ 'element' => $fieldset, 'colMap' => $colMap, 'buttonsSpan' => $buttonsSpan ]);
80
+            return $this->getView()->partial($fieldset->getViewPartial(), ['element' => $fieldset, 'colMap' => $colMap, 'buttonsSpan' => $buttonsSpan]);
81 81
         }
82 82
 
83 83
         if (true !== $buttonsFieldset && null === $colMap) {
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
         }
86 86
 
87 87
         $formElement = $this->getView()->plugin('formElement');
88
-        $content = ''; $buttonsRendered = false; $i=0;
88
+        $content = ''; $buttonsRendered = false; $i = 0;
89 89
         foreach ($fieldset as $element) {
90 90
             if (true === $buttonsFieldset) {
91 91
                 $content .= $formElement($element);
@@ -103,14 +103,14 @@  discard block
 block discarded – undo
103 103
             }
104 104
 
105 105
             if ($fieldset instanceOf TextSearchFormFieldset && $element->getName() == $fieldset->getButtonElement()) {
106
-                $content.='<div class="input-group col-md-' . $cols . '">'
106
+                $content .= '<div class="input-group col-md-'.$cols.'">'
107 107
                               . $formElement($element)
108 108
                               . '<div class="input-group-btn search-form-buttons" style="width: 0px;">'
109
-                              . $this->renderElements($buttonsFieldset, true) . '</div>'
109
+                              . $this->renderElements($buttonsFieldset, true).'</div>'
110 110
                               . '</div>';
111 111
                 $buttonsRendered = true;
112 112
             } else {
113
-                $content .= '<div class="input-group col-md-' . $cols . '">'
113
+                $content .= '<div class="input-group col-md-'.$cols.'">'
114 114
                           . $formElement($element)
115 115
                           . '</div>';
116 116
             }
@@ -122,8 +122,8 @@  discard block
 block discarded – undo
122 122
             if (null === $buttonsSpan) {
123 123
                 $buttonsSpan = $buttonsFieldset->getSpan();
124 124
             }
125
-            $content .= '<div class="input-group search-form-buttons col-md-' . $buttonsSpan . ' text-right">'
126
-                      . '<div class="btn-group">' . $this->renderElements($buttonsFieldset, true) .'</div></div>';
125
+            $content .= '<div class="input-group search-form-buttons col-md-'.$buttonsSpan.' text-right">'
126
+                      . '<div class="btn-group">'.$this->renderElements($buttonsFieldset, true).'</div></div>';
127 127
         }
128 128
 
129 129
         return $content;
Please login to merge, or discard this patch.
module/Core/src/Core/Form/TextSearchFormFieldset.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -127,10 +127,10 @@
 block discarded – undo
127 127
     {
128 128
         $this->addTextElement(
129 129
              $this->getOption('text_label')
130
-                 ? : /*@translate*/ 'Search',
130
+                 ?: /*@translate*/ 'Search',
131 131
              $this->getOption('text_placeholder')
132
-                 ? : /*@translate*/ 'Search query',
133
-             $this->getOption('text_span') ? : 12
132
+                 ?: /*@translate*/ 'Search query',
133
+             $this->getOption('text_span') ?: 12
134 134
         );
135 135
     }
136 136
 
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/PaginationBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         }
71 71
 
72 72
         if (!is_array($stack)) {
73
-            throw new \InvalidArgumentException('Expected argument to be of type array, but received ' . gettype($stack));
73
+            throw new \InvalidArgumentException('Expected argument to be of type array, but received '.gettype($stack));
74 74
         }
75 75
 
76 76
         $this->stack = $stack;
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      *
137 137
      * @return self
138 138
      */
139
-    public function params($namespace, $defaults = [ 'page' => 1 ])
139
+    public function params($namespace, $defaults = ['page' => 1])
140 140
     {
141 141
         $this->stack['params'] = [$namespace, $defaults];
142 142
         return $this;
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Controller/AdminController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@  discard block
 block discarded – undo
26 26
     public function indexAction()
27 27
     {
28 28
         return $this->pagination([
29
-            'params'    => [ 'Jobs_Admin', ['text', 'page' => 1, 'companyId', 'status' ] ],
30
-            'form'      => [ 'as' => 'form', 'Jobs/AdminSearch' ],
31
-            'paginator' => [ 'as' => 'jobs', 'Jobs/Admin' ],
29
+            'params'    => ['Jobs_Admin', ['text', 'page' => 1, 'companyId', 'status']],
30
+            'form'      => ['as' => 'form', 'Jobs/AdminSearch'],
31
+            'paginator' => ['as' => 'jobs', 'Jobs/Admin'],
32 32
         ]);
33 33
     }
34 34
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
                     $oldStatus = $job->getStatus();
55 55
                     $job->changeStatus($post['status'], '[System] Status changed via Admin GUI.');
56 56
                     $events = $services->get('Jobs/Events');
57
-                    $events->trigger(JobEvent::EVENT_STATUS_CHANGED, $this, [ 'job' => $job, 'status' => $oldStatus ]);
57
+                    $events->trigger(JobEvent::EVENT_STATUS_CHANGED, $this, ['job' => $job, 'status' => $oldStatus]);
58 58
                 }
59 59
             }
60 60
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
         $form->bind($job);
68 68
 
69
-        return [ 'form' => $form, 'job' => $job ];
69
+        return ['form' => $form, 'job' => $job];
70 70
     }
71 71
     
72 72
 }
73 73
\ No newline at end of file
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Controller/TemplateController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             $this->auth()->isAdmin()
72 72
         ) {
73 73
             $applicationViewModel->setTemplate('iframe/iFrameInjection');
74
-        }elseif(Status::EXPIRED == $job->getStatus() or  Status::INACTIVE == $job->getStatus()) {
74
+        }elseif (Status::EXPIRED == $job->getStatus() or Status::INACTIVE == $job->getStatus()) {
75 75
             $this->response->setStatusCode(Response::STATUS_CODE_410);
76 76
             $model->setTemplate('jobs/error/expired');
77 77
             $model->setVariables(
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     protected function editTemplateAction()
100 100
     {
101 101
         $id = $this->params('id');
102
-        $formIdentifier=$this->params()->fromQuery('form');
102
+        $formIdentifier = $this->params()->fromQuery('form');
103 103
         $job = $this->jobRepository->find($id);
104 104
 
105 105
         /** @var \Zend\Http\Request $request */
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
 
130 130
             $instanceForm = $formTemplate->get($formIdentifier);
131 131
             if (!isset($instanceForm)) {
132
-                throw new \RuntimeException('No form found for "' . $formIdentifier . '"');
132
+                throw new \RuntimeException('No form found for "'.$formIdentifier.'"');
133 133
             }
134 134
 
135 135
             // the id is part of the postData, but it never should be altered
Please login to merge, or discard this patch.
module/Jobs/config/module.config.php 1 patch
Spacing   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
                  * for multiple paths.
16 16
                  * example https://github.com/doctrine/DoctrineORMModule
17 17
                  */
18
-                'paths' => array( __DIR__ . '/../src/Jobs/Entity'),
18
+                'paths' => array(__DIR__.'/../src/Jobs/Entity'),
19 19
             ),
20 20
         ),
21 21
         'eventmanager' => array(
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             'translation_file_patterns' => array(
47 47
                     array(
48 48
                             'type'     => 'gettext',
49
-                            'base_dir' => __DIR__ . '/../language',
49
+                            'base_dir' => __DIR__.'/../language',
50 50
                             'pattern'  => '%s.mo',
51 51
                     ),
52 52
             ),
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
                 'allow' => array(
85 85
                     'Jobboard',
86 86
                     'Jobs/Jobboard',
87
-                    'Jobs/Template' => [ 'view', 'edittemplate' ],
87
+                    'Jobs/Template' => ['view', 'edittemplate'],
88 88
                     'Jobs/Manage' => array(
89 89
                         'template',
90 90
                     ),
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
     ),
214 214
 
215 215
     'event_manager' => [
216
-        'Core/AdminController/Events' => [ 'listeners' => [
216
+        'Core/AdminController/Events' => ['listeners' => [
217 217
             'Jobs/Listener/AdminWidgetProvider' => \Core\Controller\AdminControllerEvent::EVENT_DASHBOARD,
218 218
         ]],
219 219
 
@@ -266,39 +266,39 @@  discard block
 block discarded – undo
266 266
     'view_manager' => array(
267 267
         // Map template to files. Speeds up the lookup through the template stack.
268 268
         'template_map' => array(
269
-            'jobs/form/list-filter' => __DIR__ . '/../view/form/list-filter.phtml',
270
-            'jobs/form/apply-identifier' => __DIR__ . '/../view/form/apply-identifier.phtml',
271
-            'jobs/form/hiring-organization-select' => __DIR__ . '/../view/form/hiring-organization-select.phtml',
272
-            'jobs/form/multiposting-select' => __DIR__ . '/../view/form/multiposting-select.phtml',
273
-            'jobs/form/multiposting-checkboxes' => __DIR__ . '/../view/form/multiposting-checkboxes.phtml',
274
-            'jobs/form/ats-mode.view' => __DIR__ . '/../view/form/ats-mode.view.phtml',
275
-            'jobs/form/ats-mode.form' => __DIR__ . '/../view/form/ats-mode.form.phtml',
276
-            'jobs/form/preview' => __DIR__ . '/../view/form/preview.phtml',
277
-            'jobs/partials/channel-list' => __DIR__ . '/../view/partials/channel-list.phtml',
278
-            'jobs/assign-user' => __DIR__ . '/../view/jobs/manage/assign-user.phtml',
279
-            'jobs/snapshot_or_preview' => __DIR__ . '/../view/partials/snapshot_or_preview.phtml',
280
-            'jobs/history' => __DIR__ . '/../view/partials/history.phtml',
281
-            'jobs/portalsummary' => __DIR__ . '/../view/partials/portalsummary.phtml',
282
-            'content/jobs-publish-on-yawik' => __DIR__ . '/../view/modals/yawik.phtml',
283
-            'content/jobs-publish-on-jobsintown' => __DIR__ . '/../view/modals/jobsintown.phtml',
284
-            'content/jobs-publish-on-homepage' => __DIR__ . '/../view/modals/homepage.phtml',
285
-            'content/jobs-publish-on-fazjob' => __DIR__ . '/../view/modals/fazjob.phtml',
286
-            'content/jobs-terms-and-conditions' => __DIR__ . '/../view/jobs/index/terms.phtml',
287
-            'mail/job-created' => __DIR__ . '/../view/mails/job-created.phtml',
288
-            'mail/job-pending' => __DIR__ . '/../view/mails/job-pending.phtml',
289
-            'mail/job-accepted' => __DIR__ . '/../view/mails/job-accepted.phtml',
290
-            'mail/job-rejected' => __DIR__ . '/../view/mails/job-rejected.phtml',
291
-            'mail/job-created.en' => __DIR__ . '/../view/mails/job-created.en.phtml',
292
-            'mail/job-pending.en' => __DIR__ . '/../view/mails/job-pending.en.phtml',
293
-            'mail/job-accepted.en' => __DIR__ . '/../view/mails/job-accepted.en.phtml',
294
-            'mail/job-rejected.en' => __DIR__ . '/../view/mails/job-rejected.en.phtml',
295
-            'jobs/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml',
296
-            'jobs/error/expired' => __DIR__ . '/../view/error/expired.phtml',
269
+            'jobs/form/list-filter' => __DIR__.'/../view/form/list-filter.phtml',
270
+            'jobs/form/apply-identifier' => __DIR__.'/../view/form/apply-identifier.phtml',
271
+            'jobs/form/hiring-organization-select' => __DIR__.'/../view/form/hiring-organization-select.phtml',
272
+            'jobs/form/multiposting-select' => __DIR__.'/../view/form/multiposting-select.phtml',
273
+            'jobs/form/multiposting-checkboxes' => __DIR__.'/../view/form/multiposting-checkboxes.phtml',
274
+            'jobs/form/ats-mode.view' => __DIR__.'/../view/form/ats-mode.view.phtml',
275
+            'jobs/form/ats-mode.form' => __DIR__.'/../view/form/ats-mode.form.phtml',
276
+            'jobs/form/preview' => __DIR__.'/../view/form/preview.phtml',
277
+            'jobs/partials/channel-list' => __DIR__.'/../view/partials/channel-list.phtml',
278
+            'jobs/assign-user' => __DIR__.'/../view/jobs/manage/assign-user.phtml',
279
+            'jobs/snapshot_or_preview' => __DIR__.'/../view/partials/snapshot_or_preview.phtml',
280
+            'jobs/history' => __DIR__.'/../view/partials/history.phtml',
281
+            'jobs/portalsummary' => __DIR__.'/../view/partials/portalsummary.phtml',
282
+            'content/jobs-publish-on-yawik' => __DIR__.'/../view/modals/yawik.phtml',
283
+            'content/jobs-publish-on-jobsintown' => __DIR__.'/../view/modals/jobsintown.phtml',
284
+            'content/jobs-publish-on-homepage' => __DIR__.'/../view/modals/homepage.phtml',
285
+            'content/jobs-publish-on-fazjob' => __DIR__.'/../view/modals/fazjob.phtml',
286
+            'content/jobs-terms-and-conditions' => __DIR__.'/../view/jobs/index/terms.phtml',
287
+            'mail/job-created' => __DIR__.'/../view/mails/job-created.phtml',
288
+            'mail/job-pending' => __DIR__.'/../view/mails/job-pending.phtml',
289
+            'mail/job-accepted' => __DIR__.'/../view/mails/job-accepted.phtml',
290
+            'mail/job-rejected' => __DIR__.'/../view/mails/job-rejected.phtml',
291
+            'mail/job-created.en' => __DIR__.'/../view/mails/job-created.en.phtml',
292
+            'mail/job-pending.en' => __DIR__.'/../view/mails/job-pending.en.phtml',
293
+            'mail/job-accepted.en' => __DIR__.'/../view/mails/job-accepted.en.phtml',
294
+            'mail/job-rejected.en' => __DIR__.'/../view/mails/job-rejected.en.phtml',
295
+            'jobs/error/no-parent' => __DIR__.'/../view/error/no-parent.phtml',
296
+            'jobs/error/expired' => __DIR__.'/../view/error/expired.phtml',
297 297
         ),
298 298
 
299 299
         // Where to look for view templates not mapped above
300 300
         'template_path_stack' => array(
301
-            __DIR__ . '/../view',
301
+            __DIR__.'/../view',
302 302
         ),
303 303
     ),
304 304
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Controller/ManageController.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
         if (empty($user->info->email)) {
173 173
             return $this->getErrorViewModel('no-parent', array('cause' => 'noEmail'));
174 174
         }
175
-        $userOrg            = $user->getOrganization();
175
+        $userOrg = $user->getOrganization();
176 176
         if (!$userOrg->hasAssociation()) {
177 177
             return $this->getErrorViewModel('no-parent', array('cause' => 'noCompany'));
178 178
         }
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 
187 187
         $jobEntity = $this->initializeJob()->get($this->params(), true);
188 188
 
189
-        $viewModel          = null;
189
+        $viewModel = null;
190 190
         $this->acl($jobEntity, 'edit');
191 191
         if ($status = $params->fromQuery('status')) {
192 192
             $this->changeStatus($jobEntity, $status);
@@ -198,11 +198,11 @@  discard block
 block discarded – undo
198 198
         $instanceForm       = null;
199 199
         $formErrorMessages = array();
200 200
 
201
-        if (isset($formIdentifier) &&  $request->isPost()) {
201
+        if (isset($formIdentifier) && $request->isPost()) {
202 202
             // at this point the form get instantiated and immediately accumulated
203 203
             $instanceForm = $form->getForm($formIdentifier);
204 204
             if (!isset($instanceForm)) {
205
-                throw new \RuntimeException('No form found for "' . $formIdentifier . '"');
205
+                throw new \RuntimeException('No form found for "'.$formIdentifier.'"');
206 206
             }
207 207
             // the id may be part of the postData, but it never should be altered
208 208
             $postData = $request->getPost();
@@ -256,20 +256,20 @@  discard block
 block discarded – undo
256 256
             $jobValid = false;
257 257
             $errorMessage[] = $this->translator->translate('Accept the Terms');
258 258
         }
259
-        $result = $formEvents->trigger('ValidateJob', $this, [ 'form' => $form ]);
259
+        $result = $formEvents->trigger('ValidateJob', $this, ['form' => $form]);
260 260
         foreach ($result as $messages) {
261 261
             if (!$messages) {
262 262
                 continue;
263 263
             }
264 264
             if (!is_array($messages)) {
265
-                $messages = [ $messages ];
265
+                $messages = [$messages];
266 266
             }
267 267
 
268 268
             $errorMessage = array_merge($errorMessage, $messages);
269 269
             $jobValid = false;
270 270
         }
271 271
 
272
-        $errorMessage = '<br />' . implode('<br />', $errorMessage);
272
+        $errorMessage = '<br />'.implode('<br />', $errorMessage);
273 273
         if ($isAjax) {
274 274
             if ($instanceForm instanceof SummaryForm) {
275 275
                 $instanceForm->setRenderMode(SummaryForm::RENDER_SUMMARY);
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
             } else {
278 278
                 $viewHelper = 'form';
279 279
             }
280
-            $viewHelperManager  = $serviceLocator->get('ViewHelperManager');
280
+            $viewHelperManager = $serviceLocator->get('ViewHelperManager');
281 281
             $content = $viewHelperManager->get($viewHelper)->__invoke($instanceForm);
282 282
             $viewModel = new JsonModel(
283 283
                 array(
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
                     }
301 301
                 }
302 302
             } else {
303
-                $formEvents->trigger('DisableElements', $this, [ 'form' => $form, 'job'=>$jobEntity ]);
303
+                $formEvents->trigger('DisableElements', $this, ['form' => $form, 'job'=>$jobEntity]);
304 304
                 // Job is deployed, some changes are now disabled
305 305
                 $form->enableAll();
306 306
             }
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
 
309 309
             $completionLink = $this->url()->fromRoute(
310 310
                 'lang/jobs/completion',
311
-                [ 'id' => $jobEntity->getId()]
311
+                ['id' => $jobEntity->getId()]
312 312
             );
313 313
 
314 314
             $viewModel = $this->getViewModel($form);
@@ -462,7 +462,7 @@  discard block
 block discarded – undo
462 462
         // array with differences between the last snapshot and the actual entity
463 463
         // is remains Null if there is no snapshot
464 464
         // it will be an empty array if the snapshot and the actual entity do not differ
465
-        $diff           = null;
465
+        $diff = null;
466 466
         // preliminary difference, contain all differences
467 467
         $prelDiff = $this->entitySnapshot()->diff($jobEntity);
468 468
         if (isset($prelDiff)) {
@@ -500,21 +500,21 @@  discard block
 block discarded – undo
500 500
             'lang/jobs/view',
501 501
             array(),
502 502
             array('query' =>
503
-                      array( 'id' => $jobEntity->getId()))
503
+                      array('id' => $jobEntity->getId()))
504 504
         );
505 505
 
506 506
         $approvalLink = $this->url()->fromRoute(
507 507
             'lang/jobs/approval',
508 508
             array('state' => 'approved'),
509 509
             array('query' =>
510
-                      array( 'id' => $jobEntity->getId()))
510
+                      array('id' => $jobEntity->getId()))
511 511
         );
512 512
 
513 513
         $declineLink = $this->url()->fromRoute(
514 514
             'lang/jobs/approval',
515 515
             array('state' => 'declined'),
516 516
             array('query' =>
517
-                      array( 'id' => $jobEntity->getId()))
517
+                      array('id' => $jobEntity->getId()))
518 518
         );
519 519
 
520 520
         return array('job' => $jobEntity,
@@ -531,7 +531,7 @@  discard block
 block discarded – undo
531 531
      */
532 532
     public function deactivateAction()
533 533
     {
534
-        $user           = $this->auth->getUser();
534
+        $user = $this->auth->getUser();
535 535
 
536 536
         $jobEntity = $this->initializeJob()->get($this->params());
537 537
 
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormWizardContainer.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -82,27 +82,27 @@
 block discarded – undo
82 82
 
83 83
         $containerId = $container->getAttribute('id');
84 84
         if (!$containerId) {
85
-            $containerId = 'wizardcontainer-' . strtolower(str_replace('\\', '-', get_class($container)));
85
+            $containerId = 'wizardcontainer-'.strtolower(str_replace('\\', '-', get_class($container)));
86 86
         }
87 87
 
88 88
         foreach ($container as $tabElement) {
89
-            $tabId = $containerId . '-' . strtolower($tabElement->getName());
90
-            $tabsNav .= '<li><a data-toggle="tab" href="#' . $tabId . '">' . $translate($tabElement->getLabel()) . '</a></li>';
91
-            $tabsContent .= '<div class="tab-pane" id="' . $tabId . '">'
89
+            $tabId = $containerId.'-'.strtolower($tabElement->getName());
90
+            $tabsNav .= '<li><a data-toggle="tab" href="#'.$tabId.'">'.$translate($tabElement->getLabel()).'</a></li>';
91
+            $tabsContent .= '<div class="tab-pane" id="'.$tabId.'">'
92 92
                           . $formContainer($tabElement, $layout, $parameter)
93 93
                           . '</div>';
94 94
         }
95 95
 
96
-        $content .= '<div class="wizard-container" id="' . $containerId . '">'
97
-                  . '<ul>' . $tabsNav . '</ul>'
98
-                  . '<div class="tab-content">' . $tabsContent . '</div>'
96
+        $content .= '<div class="wizard-container" id="'.$containerId.'">'
97
+                  . '<ul>'.$tabsNav.'</ul>'
98
+                  . '<div class="tab-content">'.$tabsContent.'</div>'
99 99
                   . '<ul class="pager wizard">'
100
-                  . '<li class="previous"><a href="javascript:;">&larr; ' . $translate('previous') . '</a></li>'
101
-                  . '<li class="next"><a href="javascript:;">' . $translate('Next') . ' &rarr;</a></li>'
102
-                  . '<li class="finish' . ($containerParams['finish_enabled'] ? '' : ' disabled') . '">'
100
+                  . '<li class="previous"><a href="javascript:;">&larr; '.$translate('previous').'</a></li>'
101
+                  . '<li class="next"><a href="javascript:;">'.$translate('Next').' &rarr;</a></li>'
102
+                  . '<li class="finish'.($containerParams['finish_enabled'] ? '' : ' disabled').'">'
103 103
                   . (false !== $containerParams['finish_label']
104
-                     ? '<a class="pull-right" href="' . $containerParams['finish_href'] . '">'
105
-                       . $translate($containerParams['finish_label']) . ' &bull;</a>'
104
+                     ? '<a class="pull-right" href="'.$containerParams['finish_href'].'">'
105
+                       . $translate($containerParams['finish_label']).' &bull;</a>'
106 106
                      : ''
107 107
                     )
108 108
                   . '</li></div>';
Please login to merge, or discard this patch.