Completed
Push — develop ( 31c340...db8caa )
by Mathias
08:35
created
module/Jobs/src/Jobs/Entity/Hydrator/JsonJobsEntityHydratorFactory.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
      *
23 23
      */
24 24
     protected function prepareHydrator() {
25
-        $this->hydrator->setExcludeMethods(array('user', 'applications', 'termsAccepted', 'atsEnabled', 'permissions'));;
25
+        $this->hydrator->setExcludeMethods(array('user', 'applications', 'termsAccepted', 'atsEnabled', 'permissions')); ;
26 26
     }
27 27
 }
28 28
\ No newline at end of file
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 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
- * @license   MIT
8
- * @author    [email protected]
9
- */
3
+     * YAWIK
4
+     * 
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     * @author    [email protected]
9
+     */
10 10
 
11 11
 namespace Jobs\Entity\Hydrator;
12 12
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Entity/Job.php 3 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -513,7 +513,7 @@  discard block
 block discarded – undo
513 513
             if ($removePermissions) {
514 514
                 $this->getPermissions()->revoke($this->user, Permissions::PERMISSION_ALL);
515 515
             }
516
-            $this->user=null;
516
+            $this->user = null;
517 517
         }
518 518
 
519 519
         return $this;
@@ -1003,7 +1003,7 @@  discard block
 block discarded – undo
1003 1003
      */
1004 1004
     public function getSnapshotGenerator()
1005 1005
     {
1006
-        $generator = array (
1006
+        $generator = array(
1007 1007
             'hydrator' => '',
1008 1008
             'target' => 'Jobs\Entity\JobSnapshot',
1009 1009
             'exclude' => array('permissions', 'history')
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -503,7 +503,7 @@  discard block
 block discarded – undo
503 503
     }
504 504
     /**
505 505
      * Gets the number of unread applications
506
-     * @return Collection
506
+     * @return integer
507 507
      */
508 508
     public function getUnreadApplications()
509 509
     {
@@ -917,7 +917,7 @@  discard block
 block discarded – undo
917 917
     }
918 918
 
919 919
     /**
920
-     * @return Job
920
+     * @return JobSnapshot
921 921
      */
922 922
     public function makeSnapshot()
923 923
     {
Please login to merge, or discard this patch.
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
6
- * @license   MIT
7
- */
3
+     * YAWIK
4
+     *
5
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
6
+     * @license   MIT
7
+     */
8 8
 
9 9
 namespace Jobs\Entity;
10 10
 
@@ -345,10 +345,10 @@  discard block
 block discarded – undo
345 345
         return $this;
346 346
     }
347 347
     
348
-     /**
349
-     * (non-PHPdoc)
350
-     * @see \Jobs\Entity\JobInterface::getOrganization()
351
-     */
348
+        /**
349
+         * (non-PHPdoc)
350
+         * @see \Jobs\Entity\JobInterface::getOrganization()
351
+         */
352 352
     public function getOrganization()
353 353
     {
354 354
         return $this->organization;
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Entity/JobInterface.php 3 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
      *
199 199
      * @return UserInterface $user
200 200
      */
201
-    public function getUser() ;
201
+    public function getUser();
202 202
 
203 203
     /**
204 204
      * Gets the link to the application form
Please login to merge, or discard this patch.
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -36,6 +36,7 @@  discard block
 block discarded – undo
36 36
      * Gets the unique key used by applications to reference a job posting
37 37
      *
38 38
      * @param string $applyId
39
+     * @return Job
39 40
      */
40 41
     public function setApplyId($applyId);
41 42
 
@@ -91,6 +92,7 @@  discard block
 block discarded – undo
91 92
      * Sets an URI for a job posting
92 93
      *
93 94
      * @param string $link
95
+     * @return Job
94 96
      */
95 97
     public function setLink($link);
96 98
     
@@ -121,6 +123,7 @@  discard block
 block discarded – undo
121 123
      * Sets the title of a job posting
122 124
      *
123 125
      * @param string $title
126
+     * @return Job
124 127
      */
125 128
     public function setTitle($title);
126 129
 
@@ -222,6 +225,7 @@  discard block
 block discarded – undo
222 225
      * Sets the language of a job posting
223 226
      *
224 227
      * @param string $language
228
+     * @return Job
225 229
      */
226 230
     public function setLanguage($language);
227 231
 
@@ -237,6 +241,7 @@  discard block
 block discarded – undo
237 241
      * Sets the location of a job posting
238 242
      *
239 243
      * @param string $location
244
+     * @return Job
240 245
      */
241 246
     public function setLocation($location);
242 247
 
@@ -251,6 +256,7 @@  discard block
 block discarded – undo
251 256
      * Sets locations of a job posting
252 257
      *
253 258
      * @param string $locations
259
+     * @return Job
254 260
      */
255 261
     public function setLocations($locations);
256 262
 
@@ -265,6 +271,7 @@  discard block
 block discarded – undo
265 271
      * Sets applications for a job posting
266 272
      *
267 273
      * @param Collection $applications
274
+     * @return Job
268 275
      */
269 276
     public function setApplications(Collection $applications);
270 277
     
@@ -279,6 +286,7 @@  discard block
 block discarded – undo
279 286
      * Sets Status of a job posting
280 287
      *
281 288
      * @param string $status
289
+     * @return void
282 290
      */
283 291
     public function setStatus($status);
284 292
 
@@ -324,6 +332,7 @@  discard block
 block discarded – undo
324 332
      * organisation offering the job.
325 333
      *
326 334
      * @param string $reference
335
+     * @return Job
327 336
      */
328 337
     public function setReference($reference);
329 338
     
@@ -339,6 +348,7 @@  discard block
 block discarded – undo
339 348
      * Sets the list of channels where a job opening should be published
340 349
      *
341 350
      * @param Array $portals
351
+     * @return Job
342 352
      */
343 353
     public function setPortals(array $portals);
344 354
 
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
6
- * @license   MIT
7
- */
3
+     * YAWIK
4
+     *
5
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
6
+     * @license   MIT
7
+     */
8 8
 
9 9
 namespace Organizations\Entity;
10 10
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Entity/Status.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,8 +56,8 @@  discard block
 block discarded – undo
56 56
         if (!defined($constant)) {
57 57
             throw new \DomainException('Unknown status: ' . $status);
58 58
         }
59
-        $this->name=constant($constant);
60
-        $this->order=$this->getOrder();
59
+        $this->name = constant($constant);
60
+        $this->order = $this->getOrder();
61 61
     }
62 62
 
63 63
     /**
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      */
67 67
     public function getName()
68 68
     {
69
-        return isset($this->name)?$this->name:'';
69
+        return isset($this->name) ? $this->name : '';
70 70
     }
71 71
 
72 72
     /**
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 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
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** SettingsEntityResolverFactory.php */
11 11
 namespace Settings\Repository;
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Entity/StatusInterface.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,12 +36,12 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * A Job is accepted an is going to be published
38 38
      */
39
-    const PUBLISH  = /*@translate*/ 'publish';
39
+    const PUBLISH = /*@translate*/ 'publish';
40 40
 
41 41
     /**
42 42
      * A Job is online
43 43
      */
44
-    const ACTIVE  = /*@translate*/ 'active';
44
+    const ACTIVE = /*@translate*/ 'active';
45 45
 
46 46
     /**
47 47
      * A job was is set inactive
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * A job was expired
53 53
      */
54
-    const EXPIRED  = /*@translate*/ 'expired';
54
+    const EXPIRED = /*@translate*/ 'expired';
55 55
     
56 56
     public function __construct($status = self::CREATED);
57 57
 
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 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
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** SettingsEntityResolverFactory.php */
11 11
 namespace Settings\Repository;
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Factory/Form/MultipostingSelectFactory.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         $helpers = $services->get('ViewHelperManager');
37 37
        // $headScript = $helpers->get('headScript');
38 38
        /// $basePath  = $helpers->get('basePath');
39
-        $currencyFormat  = $helpers->get('currencyFormat');
39
+        $currencyFormat = $helpers->get('currencyFormat');
40 40
 
41 41
         $channels = $services->get('Jobs/Options/Provider');
42 42
 
Please login to merge, or discard this patch.
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @license MIT
7
- * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @license MIT
7
+     * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
+     */
9 9
   
10 10
 /** */
11 11
 namespace Jobs\Factory\Form;
@@ -34,8 +34,8 @@  discard block
 block discarded – undo
34 34
         $router = $services->get('Router');
35 35
         $select  = new MultipostingSelect();
36 36
         $helpers = $services->get('ViewHelperManager');
37
-       // $headScript = $helpers->get('headScript');
38
-       /// $basePath  = $helpers->get('basePath');
37
+        // $headScript = $helpers->get('headScript');
38
+        /// $basePath  = $helpers->get('basePath');
39 39
         $currencyFormat  = $helpers->get('currencyFormat');
40 40
 
41 41
         $channels = $services->get('Jobs/Options/Provider');
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
             $link = $router->assemble($channel->getParams(), array('name' => $channel->getRoute()));
57 57
             $groups[$category]['options'][$channel->getKey()] =
58
-                              $channel->getLabel() . '|'
58
+                                $channel->getLabel() . '|'
59 59
                             . $channel->getHeadLine() . '|'
60 60
                             . $channel->getDescription() . '|'
61 61
                             . $channel->getLinkText() . '|'
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Factory/ModuleOptionsFactory.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 
33 33
         $jobs_options = isset($config['jobs_options']) ? $config['jobs_options'] : array();
34 34
 
35
-        if (!array_key_exists('multipostingApprovalMail', $jobs_options) || '' ==  trim($jobs_options['multipostingApprovalMail'])) {
35
+        if (!array_key_exists('multipostingApprovalMail', $jobs_options) || '' == trim($jobs_options['multipostingApprovalMail'])) {
36 36
             $coreOptions = $serviceLocator->get('Core/Options');
37 37
             $jobs_options['multipostingApprovalMail'] = $coreOptions->getSystemMessageEmail();
38 38
         }
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 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 cbleek
8
- * @license   AGPLv3
9
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @author cbleek
8
+     * @license   AGPLv3
9
+     */
10 10
 
11 11
 namespace Jobs\Factory;
12 12
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Factory/Options/ChannelOptionsFactory.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         $core = $serviceLocator->get("Core/Options");
25 25
 
26 26
         if ('' == $channel->getCurrency()) {
27
-            $currency=$core->getDefaultCurrencyCode();
27
+            $currency = $core->getDefaultCurrencyCode();
28 28
             $channel->setCurrency($currency);
29 29
         }
30 30
 
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 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
- * @license   MIT
8
- * @author    [email protected]
9
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     * @author    [email protected]
9
+     */
10 10
 
11 11
 namespace Organizations\Form;
12 12
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/Hydrator/PreviewLinkHydrator.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
               )
48 48
         );
49 49
 
50
-        $data['previewLink']         = $viewLink;
50
+        $data['previewLink'] = $viewLink;
51 51
         return $data;
52 52
     }
53 53
 
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 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
- * @license   MIT
8
- * @author    [email protected]
9
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     * @author    [email protected]
9
+     */
10 10
 
11 11
 namespace Jobs\Form\Hydrator;
12 12
 
@@ -39,12 +39,12 @@  discard block
 block discarded – undo
39 39
         $viewLink = $controllerPluginManager->get('url')->fromRoute(
40 40
             'lang/jobs/view',
41 41
             array(
42
-              ),
42
+                ),
43 43
             array(
44
-                  'query' => array(
45
-                      'id' => $data['id'],
46
-                  )
47
-              )
44
+                    'query' => array(
45
+                        'id' => $data['id'],
46
+                    )
47
+                )
48 48
         );
49 49
 
50 50
         $data['previewLink']         = $viewLink;
Please login to merge, or discard this patch.