Completed
Push — master ( 4c14c6...4ad177 )
by Mathias
25s queued 15s
created
module/Applications/src/Controller/ApplyController.php 1 patch
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -60,11 +60,11 @@  discard block
 block discarded – undo
60 60
 
61 61
     protected $viewHelper;
62 62
 
63
-	/**
64
-	 * @param ContainerInterface $container
65
-	 *
66
-	 * @return ApplyController
67
-	 */
63
+    /**
64
+     * @param ContainerInterface $container
65
+     *
66
+     * @return ApplyController
67
+     */
68 68
     static public function factory(ContainerInterface $container)
69 69
     {
70 70
         $ob = new self();
@@ -72,24 +72,24 @@  discard block
 block discarded – undo
72 72
         return $ob;
73 73
     }
74 74
 
75
-	public function setContainer( ContainerInterface $container )
76
-	{
77
-		$this->config            = $container->get('Config');
78
-		$this->imageCacheManager = $container->get('Organizations\ImageFileCache\Manager');
79
-		$this->validator         = $container->get('ValidatorManager');
80
-		$this->repositories      = $container->get('repositories');
81
-		$this->appEvents         = $container->get('Applications/Events');
82
-		$this->viewHelper        = $container->get('ViewHelperManager');
83
-	}
84
-
85
-
86
-	public function attachDefaultListeners()
87
-	{
88
-		parent::attachDefaultListeners();
89
-		$events = $this->getEventManager();
90
-		$events->attach(MvcEvent::EVENT_DISPATCH, array($this, 'preDispatch'), 10);
91
-		return $this;
92
-	}
75
+    public function setContainer( ContainerInterface $container )
76
+    {
77
+        $this->config            = $container->get('Config');
78
+        $this->imageCacheManager = $container->get('Organizations\ImageFileCache\Manager');
79
+        $this->validator         = $container->get('ValidatorManager');
80
+        $this->repositories      = $container->get('repositories');
81
+        $this->appEvents         = $container->get('Applications/Events');
82
+        $this->viewHelper        = $container->get('ViewHelperManager');
83
+    }
84
+
85
+
86
+    public function attachDefaultListeners()
87
+    {
88
+        parent::attachDefaultListeners();
89
+        $events = $this->getEventManager();
90
+        $events->attach(MvcEvent::EVENT_DISPATCH, array($this, 'preDispatch'), 10);
91
+        return $this;
92
+    }
93 93
 
94 94
     public function preDispatch(MvcEvent $e)
95 95
     {
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
             ->getHybridAuth();
267 267
         /* @var $authProfile \Hybrid_User_Profile */
268 268
         $authProfile = $hybridAuth->authenticate($network)
269
-           ->getUserProfile();
269
+            ->getUserProfile();
270 270
 
271 271
         /* @var \Auth\Entity\SocialProfiles\AbstractProfile $profile */
272 272
         $profile = $this->plugin('Auth/SocialProfiles')->fetch($network);
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
         }
320 320
 
321 321
         return $this->redirect()
322
-           ->toRoute('lang/apply', ['applyId' => $job->getApplyId()], $urlOptions);
322
+            ->toRoute('lang/apply', ['applyId' => $job->getApplyId()], $urlOptions);
323 323
     }
324 324
 
325 325
     public function processPreviewAction()
@@ -329,11 +329,11 @@  discard block
 block discarded – undo
329 329
 
330 330
     public function processAction()
331 331
     {
332
-    	$params = $this->params();
332
+        $params = $this->params();
333 333
         $formName  = $params->fromQuery('form');
334 334
         $form      = $this->formContainer->getForm($formName);
335 335
         $postData  = $form->getOption('use_post_array') ? $params->fromPost() : array();
336
-	    //@TODO: [ZF3] option use_files_array is false by default
336
+        //@TODO: [ZF3] option use_files_array is false by default
337 337
         //$filesData = $form->getOption('use_files_array') ? $params->fromFiles() : array();
338 338
         $form->setData(array_merge($postData,$_FILES));
339 339
 
@@ -363,9 +363,9 @@  discard block
 block discarded – undo
363 363
 
364 364
         return new JsonModel(
365 365
             array(
366
-	            'valid' => $form->isValid(),
367
-	            'content' => $content,
368
-	            'isApplicationValid' => $this->checkApplication($application)
366
+                'valid' => $form->isValid(),
367
+                'content' => $content,
368
+                'isApplicationValid' => $this->checkApplication($application)
369 369
             )
370 370
         );
371 371
     }
Please login to merge, or discard this patch.
module/Applications/src/Entity/Hydrator/ApiApplicationHydrator.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
         ;
90 90
         $data['attachments'] = [];
91 91
         foreach ($object->getAttachments() as $file) {
92
-           $data['attachments'][] = $this->serverUrl . $file->getUri();
92
+            $data['attachments'][] = $this->serverUrl . $file->getUri();
93 93
         }
94 94
 
95 95
         unset(
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Repository/Filter/PaginationAdminQueryTest.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 /**
4 4
  *
5
-
6 5
  */
7 6
 
8 7
 declare(strict_types=1);
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/UserBaseFieldset.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
     public function init()
23 23
     {
24 24
         $this->setName('base');
25
-             //->setLabel( /* @translate */ 'General');
26
-             //->setHydrator(new \Core\Model\Hydrator\ModelHydrator());
25
+                //->setLabel( /* @translate */ 'General');
26
+                //->setHydrator(new \Core\Model\Hydrator\ModelHydrator());
27 27
 
28 28
 
29 29
         $this->add([
Please login to merge, or discard this patch.
module/Jobs/src/View/Helper/JsonLd.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,8 +64,8 @@
 block discarded – undo
64 64
         );
65 65
 
66 66
         return '<script type="application/ld+json">'
67
-               . $jsonLdProvider->toJsonLd()
68
-               . '</script>';
67
+                . $jsonLdProvider->toJsonLd()
68
+                . '</script>';
69 69
     }
70 70
 
71 71
     /**
Please login to merge, or discard this patch.