Completed
Push — develop ( fd8298...e653e2 )
by Carsten
14s
created
module/Cv/src/Cv/Factory/Form/AttachmentsFormFactory.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -74,14 +74,14 @@
 block discarded – undo
74 74
         $count = $options->getAttachmentsCount();
75 75
 
76 76
         $form->setIsDisableCapable(false)
77
-             ->setIsDisableElementsCapable(false)
78
-             ->setIsDescriptionsEnabled(true)
79
-             ->setDescription(
77
+                ->setIsDisableElementsCapable(false)
78
+                ->setIsDescriptionsEnabled(true)
79
+                ->setDescription(
80 80
                 /*@translate*/ 'Attach images or PDF Documents to your CV. Drag&drop them, or click into the attachement area. You can upload up to %sMB',
81
-                 [round($size/(1024*1024))>0? round($size/(1024*1024)):round($size/(1024*1024), 1)]
82
-             )
83
-             ->setParam('return', 'file-uri')
84
-             ->setLabel(/*@translate*/ 'Attachments');
81
+                    [round($size/(1024*1024))>0? round($size/(1024*1024)):round($size/(1024*1024), 1)]
82
+                )
83
+                ->setParam('return', 'file-uri')
84
+                ->setLabel(/*@translate*/ 'Attachments');
85 85
 
86 86
         /* @var $file \Core\Form\Element\FileUpload */
87 87
         $file = $form->get($this->fileName);
Please login to merge, or discard this patch.
module/Cv/src/Cv/Entity/ContactImage.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -44,16 +44,16 @@
 block discarded – undo
44 44
         $this->contact->setImage(null);
45 45
     }
46 46
     
47
-	/**
48
-	 * @param Contact $contact
49
-	 * @return ContactImage
50
-	 */
51
-	public function setContact(Contact $contact)
52
-	{
53
-		$this->contact = $contact;
47
+    /**
48
+     * @param Contact $contact
49
+     * @return ContactImage
50
+     */
51
+    public function setContact(Contact $contact)
52
+    {
53
+        $this->contact = $contact;
54 54
 		
55
-		return $this;
56
-	}
55
+        return $this;
56
+    }
57 57
 
58 58
     /**
59 59
      * @return Contact
Please login to merge, or discard this patch.
module/Applications/src/Applications/Controller/ManageController.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
             $application->changeStatus(
146 146
                 $application->getStatus(),
147 147
                 sprintf(/*@translate*/ 'Application was read by %s',
148
-                                       $this->auth()->getUser()->getInfo()->getDisplayName()));
148
+                                        $this->auth()->getUser()->getInfo()->getDisplayName()));
149 149
         }
150 150
 
151 151
 
@@ -172,9 +172,9 @@  discard block
 block discarded – undo
172 172
                         $viewModel->setVariables(
173 173
                             /*array(
174 174
                             'application' => */$this->serviceLocator
175
-                                              ->get('builders')
176
-                                              ->get('JsonApplication')
177
-                                              ->unbuild($application)
175
+                                                ->get('builders')
176
+                                                ->get('JsonApplication')
177
+                                                ->unbuild($application)
178 178
                         );
179 179
                         $viewModel->setVariable('isUnread', $applicationIsUnread);
180 180
                         $return = $viewModel;
@@ -337,12 +337,12 @@  discard block
 block discarded – undo
337 337
 
338 338
         /* @var ApplicationEvent $event */
339 339
         $event = $events->getEvent(ApplicationEvent::EVENT_APPLICATION_STATUS_CHANGE,
340
-                                   $this,
341
-                                   [
342
-                                       'application' => $application,
343
-                                       'status' => $status,
344
-                                       'user' => $this->auth()->getUser(),
345
-                                   ]
340
+                                    $this,
341
+                                    [
342
+                                        'application' => $application,
343
+                                        'status' => $status,
344
+                                        'user' => $this->auth()->getUser(),
345
+                                    ]
346 346
         );
347 347
 
348 348
         $event->setIsPostRequest($request->isPost());
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
         $emailAddress = $this->params()->fromQuery('email');
394 394
         /* @var \Applications\Entity\Application $application */
395 395
         $application  = $services->get('repositories')->get('Applications/Application')
396
-                                 ->find($this->params('id'));
396
+                                    ->find($this->params('id'));
397 397
         
398 398
         $this->acl($application, 'forward');
399 399
         
Please login to merge, or discard this patch.
module/Auth/config/module.config.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
                     'Auth/Users' => 'switch',
209 209
                 ),
210 210
                 'deny' => array(
211
-                   // 'route/lang/auth',
211
+                    // 'route/lang/auth',
212 212
                     'route/auth-provider',
213 213
                     'route/auth-extern',
214 214
                     'route/lang/forgot-password',
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
         'factories' => array(
291 291
             'auth' => '\Auth\Factory\View\Helper\AuthFactory',
292 292
             'acl'  => '\Acl\Factory\View\Helper\AclFactory',
293
-         ),
293
+            ),
294 294
     ),
295 295
     
296 296
     'form_elements' => array(
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/GroupUsersCollection.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -98,9 +98,9 @@
 block discarded – undo
98 98
         );
99 99
         
100 100
         $this->setCount(0)
101
-             ->setAllowRemove(true)
102
-             ->setAllowAdd(true)
103
-             ->setShouldCreateTemplate(true);
101
+                ->setAllowRemove(true)
102
+                ->setAllowAdd(true)
103
+                ->setShouldCreateTemplate(true);
104 104
     }
105 105
     
106 106
     /**
Please login to merge, or discard this patch.
module/Auth/src/Acl/Listener/CheckPermissionsListener.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      *
59 59
      * @param  EventManagerInterface $events
60 60
      * @param  integer $priority
61
-    */
61
+     */
62 62
     public function attach(EventManagerInterface $events)
63 63
     {
64 64
         $this->listeners[] = $events->attach(MvcEvent::EVENT_ROUTE, array($this, 'onRoute'), -10);
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 
116 116
 
117 117
         if ($resourceId && !$acl->isAllowed($role, $resourceId, $privilege)) {
118
-           /*
118
+            /*
119 119
             * Exceptions are only catched within the dispatch listener, so
120 120
             * we have to set the exception manually in the event
121 121
             * and trigger the DISPATCH_ERROR event.
Please login to merge, or discard this patch.
module/Pdf/Module.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,11 +39,11 @@
 block discarded – undo
39 39
     protected $appendImage = array();
40 40
     
41 41
     
42
-     /**
43
-     * Loads module specific configuration.
44
-     *
45
-     * @return array
46
-     */
42
+        /**
43
+         * Loads module specific configuration.
44
+         *
45
+         * @return array
46
+         */
47 47
     public function getConfig()
48 48
     {
49 49
         return ModuleConfigLoader::load(__DIR__ . '/config');
Please login to merge, or discard this patch.
module/Core/src/Core/View/Helper/LanguageSwitcher.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@  discard block
 block discarded – undo
28 28
 {
29 29
 
30 30
     /**
31
-    * @var string
32
-    */
31
+     * @var string
32
+     */
33 33
     protected $partial = 'partial/language-switcher';
34 34
 
35 35
     /**
@@ -41,8 +41,8 @@  discard block
 block discarded – undo
41 41
     {
42 42
 
43 43
         $options = array_merge([
44
-                                   'partial' => $this->partial,
45
-                               ], $options);
44
+                                    'partial' => $this->partial,
45
+                                ], $options);
46 46
 
47 47
         $view = $this->view;
48 48
         $partial = $options['partial'];
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormFileUpload.php 1 patch
Indentation   +78 added lines, -78 removed lines patch added patch discarded remove patch
@@ -113,11 +113,11 @@  discard block
 block discarded – undo
113 113
 
114 114
             return str_replace(
115 115
                 array('#abort',
116
-                      '__file-uri__',
117
-                      '__file-name__',
118
-                      '__file-size__',
119
-                      'fu-working',
120
-                      'fa-file-o'
116
+                        '__file-uri__',
117
+                        '__file-name__',
118
+                        '__file-size__',
119
+                        'fu-working',
120
+                        'fa-file-o'
121 121
                 ),
122 122
                 array("$uri?do=delete", $uri, $name, $size, '', $icon),
123 123
                 $template
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
             '<div class="fu-nonempty-notice"' . ('' == trim($preview) ? ' style="display:none;"' : '') . '>'
142 142
             . $this->getNonEmptyNotice() . '</div>';
143 143
         $emptynotice    = '<div class="fu-empty-notice"'
144
-                          . ('' == trim($preview) ? '' : ' style="display: none;"') . '>
144
+                            . ('' == trim($preview) ? '' : ' style="display: none;"') . '>
145 145
                        ' . $this->getEmptyNotice() . '
146 146
                   </div>';
147 147
 
@@ -230,99 +230,99 @@  discard block
 block discarded – undo
230 230
     }
231 231
     
232 232
     /**
233
-	 * @param string $emptyNotice
234
-	 * @return FormFileUpload
235
-	 * @since 0.27
236
-	 */
237
-	public function setEmptyNotice($emptyNotice)
238
-	{
239
-		$this->emptyNotice = $emptyNotice;
233
+     * @param string $emptyNotice
234
+     * @return FormFileUpload
235
+     * @since 0.27
236
+     */
237
+    public function setEmptyNotice($emptyNotice)
238
+    {
239
+        $this->emptyNotice = $emptyNotice;
240 240
 		
241
-		return $this;
242
-	}
241
+        return $this;
242
+    }
243 243
     
244 244
     /**
245
-	 * @return string
246
-	 * @since 0.27
247
-	 */
248
-	protected function getEmptyNotice()
249
-	{
250
-	    if (!isset($this->emptyNotice))
251
-	    {
252
-	        $this->emptyNotice = '
245
+     * @return string
246
+     * @since 0.27
247
+     */
248
+    protected function getEmptyNotice()
249
+    {
250
+        if (!isset($this->emptyNotice))
251
+        {
252
+            $this->emptyNotice = '
253 253
 	            <div class="pull-left">
254 254
                     <span class="yk-icon fa-files-o fa-5x"></span>
255 255
                 </div>' . $this->getDefaultNotice();
256
-	    }
256
+        }
257 257
 	    
258
-		return $this->emptyNotice;
259
-	}
258
+        return $this->emptyNotice;
259
+    }
260 260
 
261 261
     /**
262
-	 * @param string $nonEmptyNotice
263
-	 * @return FormFileUpload
264
-	 * @since 0.27
265
-	 */
266
-	public function setNonEmptyNotice($nonEmptyNotice)
267
-	{
268
-		$this->nonEmptyNotice = $nonEmptyNotice;
262
+     * @param string $nonEmptyNotice
263
+     * @return FormFileUpload
264
+     * @since 0.27
265
+     */
266
+    public function setNonEmptyNotice($nonEmptyNotice)
267
+    {
268
+        $this->nonEmptyNotice = $nonEmptyNotice;
269 269
 		
270
-		return $this;
271
-	}
270
+        return $this;
271
+    }
272 272
 
273 273
     /**
274
-	 * @return string
275
-	 * @since 0.27
276
-	 */
277
-	protected function getNonEmptyNotice()
278
-	{
279
-	    if (!isset($this->nonEmptyNotice))
280
-	    {
281
-	        $this->nonEmptyNotice = $this->getDefaultNotice();
282
-	    }
274
+     * @return string
275
+     * @since 0.27
276
+     */
277
+    protected function getNonEmptyNotice()
278
+    {
279
+        if (!isset($this->nonEmptyNotice))
280
+        {
281
+            $this->nonEmptyNotice = $this->getDefaultNotice();
282
+        }
283 283
 	    
284
-		return $this->nonEmptyNotice;
285
-	}
284
+        return $this->nonEmptyNotice;
285
+    }
286 286
 
287 287
     /**
288
-	 * @return string
289
-	 * @since 0.27
290
-	 */
291
-	protected function getDefaultNotice()
292
-	{
293
-		return '<small>' . $this->getTranslator()->translate('Click here to add files or use drag and drop.') . '</small>';
294
-	}
288
+     * @return string
289
+     * @since 0.27
290
+     */
291
+    protected function getDefaultNotice()
292
+    {
293
+        return '<small>' . $this->getTranslator()->translate('Click here to add files or use drag and drop.') . '</small>';
294
+    }
295 295
 	
296 296
     /**
297
-	 * @param boolean $allowRemove
298
-	 * @return FormFileUpload
299
-	 * @since 0.27
300
-	 */
301
-	public function setAllowRemove($allowRemove)
302
-	{
303
-		$this->allowRemove = (bool)$allowRemove;
297
+     * @param boolean $allowRemove
298
+     * @return FormFileUpload
299
+     * @since 0.27
300
+     */
301
+    public function setAllowRemove($allowRemove)
302
+    {
303
+        $this->allowRemove = (bool)$allowRemove;
304 304
 		
305
-		return $this;
306
-	}
305
+        return $this;
306
+    }
307 307
 	
308 308
     /**
309
-	 * @param boolean $allowClickableDropZone
310
-	 * @return FormFileUpload
311
-	 * @since 0.27
312
-	 */
313
-	public function setAllowClickableDropZone($allowClickableDropZone)
314
-	{
315
-		$this->allowClickableDropZone = (bool)$allowClickableDropZone;
309
+     * @param boolean $allowClickableDropZone
310
+     * @return FormFileUpload
311
+     * @since 0.27
312
+     */
313
+    public function setAllowClickableDropZone($allowClickableDropZone)
314
+    {
315
+        $this->allowClickableDropZone = (bool)$allowClickableDropZone;
316 316
 		
317
-		return $this;
318
-	}
317
+        return $this;
318
+    }
319 319
 	
320
-	/**
321
-	 * @since 0.27
322
-	 */
323
-	protected function setupAssets()
324
-	{
325
-	    /* @var $renderer \Zend\View\Renderer\PhpRenderer */
320
+    /**
321
+     * @since 0.27
322
+     */
323
+    protected function setupAssets()
324
+    {
325
+        /* @var $renderer \Zend\View\Renderer\PhpRenderer */
326 326
         /* @var $basepath \Zend\View\Helper\BasePath */
327 327
         $renderer = $this->getView();
328 328
         $basepath = $renderer->plugin('basepath');
@@ -331,5 +331,5 @@  discard block
 block discarded – undo
331 331
             ->appendFile($basepath('assets/blueimp-file-upload/js/jquery.iframe-transport.js'))
332 332
             ->appendFile($basepath('assets/blueimp-file-upload/js/jquery.fileupload.js'))
333 333
             ->appendFile($basepath($this->scriptFile));
334
-	}
334
+    }
335 335
 }
Please login to merge, or discard this patch.