Completed
Push — develop ( d50679...312a9e )
by
unknown
08:47
created
module/Applications/src/Applications/Controller/ApplyController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
                 throw new \RuntimeException('Invalid application id.');
90 90
             }
91 91
 
92
-            $action     = 'process';
92
+            $action = 'process';
93 93
 
94 94
             $routeMatch->setParam('action', $action);
95 95
             
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
                 return;
109 109
             }
110 110
 
111
-            switch($job->getStatus()){
111
+            switch ($job->getStatus()) {
112 112
                 case \Jobs\Entity\Status::ACTIVE:
113 113
                     break;
114 114
                 default:
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     {
183 183
         $this->response->setStatusCode(410);
184 184
         $model = new ViewModel(
185
-            [ 'content' => /*@translate*/ 'Invalid apply id']
185
+            ['content' => /*@translate*/ 'Invalid apply id']
186 186
         );
187 187
         $model->setTemplate('applications/error/not-found');
188 188
         return $model;
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
         }
282 282
 
283 283
         if ('sendmail' == $this->params()->fromQuery('do')) {
284
-            $jobEntity         = $application->job;
284
+            $jobEntity = $application->job;
285 285
             ;
286 286
             $mailData = array(
287 287
                 'application' => $application,
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Controller/TemplateController.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
- * @author [email protected]
8
- * @license   MIT
9
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @author [email protected]
8
+     * @license   MIT
9
+     */
10 10
 
11 11
 namespace Jobs\Controller;
12 12
 
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
             $this->auth()->isAdmin()
70 70
         )
71 71
         {
72
-             $applicationViewModel->setTemplate('iframe/iFrameInjection');
72
+                $applicationViewModel->setTemplate('iframe/iFrameInjection');
73 73
         } else {
74 74
             $this->response->setStatusCode(404);
75 75
             $model->setVariable('message','job is not available');
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,14 +65,14 @@  discard block
 block discarded – undo
65 65
 
66 66
         if (
67 67
             Status::ACTIVE == $job->getStatus() or
68
-            $job->getPermissions()->isGranted($user,PermissionsInterface::PERMISSION_VIEW) or
68
+            $job->getPermissions()->isGranted($user, PermissionsInterface::PERMISSION_VIEW) or
69 69
             $this->auth()->isAdmin()
70 70
         )
71 71
         {
72 72
              $applicationViewModel->setTemplate('iframe/iFrameInjection');
73 73
         } else {
74 74
             $this->response->setStatusCode(404);
75
-            $model->setVariable('message','job is not available');
75
+            $model->setVariable('message', 'job is not available');
76 76
         }
77 77
         return $model;
78 78
     }
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     protected function editTemplateAction()
89 89
     {
90 90
         $id = $this->params('id');
91
-        $formIdentifier=$this->params()->fromQuery('form');
91
+        $formIdentifier = $this->params()->fromQuery('form');
92 92
         $job = $this->jobRepository->find($id);
93 93
 
94 94
         /** @var \Zend\Http\Request $request */
Please login to merge, or discard this patch.