Completed
Pull Request — master (#644)
by Carsten
07:49
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.
module/Jobs/src/Entity/Decorator/JsonLdProvider.php 1 patch
Indentation   +32 added lines, -33 removed lines patch added patch discarded remove patch
@@ -96,11 +96,10 @@  discard block
 block discarded – undo
96 96
         $array += $this->generateSalary();
97 97
 
98 98
         /**
99
-        * TODO: make this working
99
+         * TODO: make this working
100 100
         
101 101
         $array=array_merge_recursive($this->getDefault,$default,$array);
102
-        
103
-        */
102
+         */
104 103
         
105 104
         return Json::encode($array);
106 105
     }
@@ -244,50 +243,50 @@  discard block
 block discarded – undo
244 243
     string(19) "2020-06-12 18:59:45"
245 244
     ["identifier"]=>
246 245
     array(3) {
247
-      ["@type"]=>
248
-      string(13) "PropertyValue"
249
-      ["value"]=>
250
-      string(24) "5c8115410acec3d470a03e41"
251
-      ["name"]=>
252
-      string(8) "Firma XY"
246
+        ["@type"]=>
247
+        string(13) "PropertyValue"
248
+        ["value"]=>
249
+        string(24) "5c8115410acec3d470a03e41"
250
+        ["name"]=>
251
+        string(8) "Firma XY"
253 252
     }
254 253
     ["hiringOrganization"]=>
255 254
     array(3) {
256
-      ["@type"]=>
257
-      string(12) "Organization"
258
-      ["name"]=>
259
-      string(8) "Firma XY"
260
-      ["logo"]=>
261
-      string(72) "/file/Organizations.OrganizationImage/58f8e3124e197f5d78e3fed7/YAWIK.jpg"
255
+        ["@type"]=>
256
+        string(12) "Organization"
257
+        ["name"]=>
258
+        string(8) "Firma XY"
259
+        ["logo"]=>
260
+        string(72) "/file/Organizations.OrganizationImage/58f8e3124e197f5d78e3fed7/YAWIK.jpg"
262 261
     }
263 262
     ["jobLocation"]=>
264 263
     array(1) {
265
-      [0]=>
266
-      array(2) {
264
+        [0]=>
265
+        array(2) {
267 266
         ["@type"]=>
268 267
         string(5) "Place"
269 268
         ["address"]=>
270 269
         array(6) {
271
-          ["@type"]=>
272
-          string(13) "PostalAddress"
273
-          ["streetAddress"]=>
274
-          string(1) " "
275
-          ["postalCode"]=>
276
-          NULL
277
-          ["addressLocality"]=>
278
-          string(6) "Vechta"
279
-          ["addressCountry"]=>
280
-          NULL
281
-          ["addressRegion"]=>
282
-          string(13) "Niedersachsen"
270
+            ["@type"]=>
271
+            string(13) "PostalAddress"
272
+            ["streetAddress"]=>
273
+            string(1) " "
274
+            ["postalCode"]=>
275
+            NULL
276
+            ["addressLocality"]=>
277
+            string(6) "Vechta"
278
+            ["addressCountry"]=>
279
+            NULL
280
+            ["addressRegion"]=>
281
+            string(13) "Niedersachsen"
282
+        }
283 283
         }
284
-      }
285 284
     }
286 285
     ["employmentType"]=>
287 286
     array(1) {
288
-      [0]=>
289
-      string(9) "permanent"
287
+        [0]=>
288
+        string(9) "permanent"
290 289
     }
291 290
     ["validThrough"]=>
292 291
     string(19) "2020-12-09 18:59:45"
293
-  }
294 292
\ No newline at end of file
293
+    }
295 294
\ No newline at end of file
Please login to merge, or discard this patch.