Completed
Push — develop ( 478992...e444cc )
by Mathias
36:14
created
module/Install/src/Validator/MongoDbConnectionString.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
  */
22 22
 class MongoDbConnectionString extends AbstractValidator
23 23
 {
24
-    const INVALID       = 'invalidConnectionString';
24
+    const INVALID = 'invalidConnectionString';
25 25
 
26 26
     /**
27 27
      * Options
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Acl/CreateAssertion.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@
 block discarded – undo
26 26
 {
27 27
 
28 28
     protected $identifiers = array(
29
-         'Jobs/Acl/Assertions',
30
-         'Jobs/Acl/Assertion/Create',
29
+            'Jobs/Acl/Assertions',
30
+            'Jobs/Acl/Assertion/Create',
31 31
     );
32 32
 
33 33
     protected function preAssert(
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Entity/JobInterface.php 2 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
@@ -38,6 +38,7 @@  discard block
 block discarded – undo
38 38
      * Gets the unique key used by applications to reference a job posting
39 39
      *
40 40
      * @param string $applyId
41
+     * @return JobInterface|null
41 42
      */
42 43
     public function setApplyId($applyId);
43 44
 
@@ -93,6 +94,7 @@  discard block
 block discarded – undo
93 94
      * Sets an URI for a job posting
94 95
      *
95 96
      * @param string $link
97
+     * @return Job
96 98
      */
97 99
     public function setLink($link);
98 100
     
@@ -139,6 +141,7 @@  discard block
 block discarded – undo
139 141
      * Sets the title of a job posting
140 142
      *
141 143
      * @param string $title
144
+     * @return JobInterface
142 145
      */
143 146
     public function setTitle($title);
144 147
 
@@ -240,6 +243,7 @@  discard block
 block discarded – undo
240 243
      * Sets the language of a job posting
241 244
      *
242 245
      * @param string $language
246
+     * @return Job
243 247
      */
244 248
     public function setLanguage($language);
245 249
 
@@ -255,6 +259,7 @@  discard block
 block discarded – undo
255 259
      * Sets the location of a job posting
256 260
      *
257 261
      * @param string $location
262
+     * @return Job
258 263
      */
259 264
     public function setLocation($location);
260 265
 
@@ -269,6 +274,7 @@  discard block
 block discarded – undo
269 274
      * Sets locations of a job posting
270 275
      *
271 276
      * @param string $locations
277
+     * @return Job
272 278
      */
273 279
     public function setLocations($locations);
274 280
 
@@ -283,6 +289,7 @@  discard block
 block discarded – undo
283 289
      * Sets applications for a job posting
284 290
      *
285 291
      * @param Collection $applications
292
+     * @return Job|null
286 293
      */
287 294
     public function setApplications(Collection $applications);
288 295
     
@@ -297,6 +304,7 @@  discard block
 block discarded – undo
297 304
      * Sets Status of a job posting
298 305
      *
299 306
      * @param string $status
307
+     * @return void
300 308
      */
301 309
     public function setStatus($status);
302 310
 
@@ -342,6 +350,7 @@  discard block
 block discarded – undo
342 350
      * organisation offering the job.
343 351
      *
344 352
      * @param string $reference
353
+     * @return Job
345 354
      */
346 355
     public function setReference($reference);
347 356
     
@@ -357,6 +366,7 @@  discard block
 block discarded – undo
357 366
      * Sets the list of channels where a job opening should be published
358 367
      *
359 368
      * @param Array $portals
369
+     * @return Job|null
360 370
      */
361 371
     public function setPortals(array $portals);
362 372
 
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   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,12 +39,12 @@
 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.
module/Jobs/src/Jobs/Form/MultipostFieldset.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -43,13 +43,13 @@
 block discarded – undo
43 43
 
44 44
         $this->add(
45 45
             array(
46
-                 'type' => 'Jobs\MultipostingSelect',
47
-                 'property' => true,
48
-                 'name' => 'portals',
49
-                 'options' => array(
50
-                     'label' => /*@translate*/ 'Portals',
51
-                 ),
52
-             )
46
+                    'type' => 'Jobs\MultipostingSelect',
47
+                    'property' => true,
48
+                    'name' => 'portals',
49
+                    'options' => array(
50
+                        'label' => /*@translate*/ 'Portals',
51
+                    ),
52
+                )
53 53
         );
54 54
     }
55 55
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Options/ChannelOptions.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      *
82 82
      * @var int $publishDuration
83 83
      */
84
-    protected $publishDuration=30;
84
+    protected $publishDuration = 30;
85 85
 
86 86
     /**
87 87
      * Category for this channel
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      */
141 141
     public function setKey($key)
142 142
     {
143
-        $this->key=$key;
143
+        $this->key = $key;
144 144
         return $this;
145 145
     }
146 146
 
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      */
163 163
     public function setExternalkey($key)
164 164
     {
165
-        $this->externalkey=$key;
165
+        $this->externalkey = $key;
166 166
         return $this;
167 167
     }
168 168
 
Please login to merge, or discard this patch.
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     /**
155 155
      * Gets the unique key of a channel
156 156
      *
157
-     * @return string
157
+     * @return integer
158 158
      */
159 159
     public function getKey()
160 160
     {
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     /**
177 177
      * Gets the unique key of a channel
178 178
      *
179
-     * @return string
179
+     * @return integer
180 180
      */
181 181
     public function getExternalkey()
182 182
     {
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
     /**
260 260
      * Gets the tax for a price
261 261
      *
262
-     * @return string
262
+     * @return integer
263 263
      */
264 264
     public function getTax()
265 265
     {
@@ -352,7 +352,7 @@  discard block
 block discarded – undo
352 352
     /**
353 353
      * Gets the headline of the channel
354 354
      *
355
-     * @return mixed
355
+     * @return string
356 356
      */
357 357
     public function getHeadLine()
358 358
     {
@@ -390,7 +390,7 @@  discard block
 block discarded – undo
390 390
     }
391 391
 
392 392
     /**
393
-     * @return mixed
393
+     * @return string
394 394
      */
395 395
     public function getLinkText()
396 396
     {
@@ -408,7 +408,7 @@  discard block
 block discarded – undo
408 408
     }
409 409
 
410 410
     /**
411
-     * @return mixed
411
+     * @return string
412 412
      */
413 413
     public function getRoute()
414 414
     {
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Options/ModuleOptions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,21 +44,21 @@
 block discarded – undo
44 44
      *
45 45
      * @var string $defaultLogo
46 46
      */
47
-    protected $defaultLogo="/Jobs/images/yawik-small.jpg";
47
+    protected $defaultLogo = "/Jobs/images/yawik-small.jpg";
48 48
 
49 49
     /**
50 50
      * Maximum size in bytes of a company Logo. Default 200k
51 51
      *
52 52
      * @var int $companyLogoMaxSize
53 53
      */
54
-    protected $companyLogoMaxSize=200000;
54
+    protected $companyLogoMaxSize = 200000;
55 55
 
56 56
     /**
57 57
      * Allowed Mime-Types for company Logos
58 58
      *
59 59
      * @var array
60 60
      */
61
-    protected $companyLogoMimeType=array("image");
61
+    protected $companyLogoMimeType = array("image");
62 62
 
63 63
 
64 64
     /**
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Repository/JobSnapshotMeta.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,10 +27,10 @@  discard block
 block discarded – undo
27 27
     {
28 28
         $qb = $this->createQueryBuilder();
29 29
         $qb->hydrate(true)
30
-           ->select('entity')
31
-           ->field('sourceId')->equals($jobEntity->id)
32
-           ->sort('dateCreated', 'desc')
33
-           ->limit(1);
30
+            ->select('entity')
31
+            ->field('sourceId')->equals($jobEntity->id)
32
+            ->sort('dateCreated', 'desc')
33
+            ->limit(1);
34 34
 
35 35
         $result = $qb->getQuery()->execute();
36 36
         if ($result->count() == 0) {
@@ -53,9 +53,9 @@  discard block
 block discarded – undo
53 53
         // So we need to create a cursor, that skips the first Document
54 54
         $qb = $this->createQueryBuilder();
55 55
         $qb->hydrate(false)
56
-           ->select('entity')
57
-           ->field('sourceId')->equals($jobEntity->id)
58
-           ->sort('dateCreated', 'desc');
56
+            ->select('entity')
57
+            ->field('sourceId')->equals($jobEntity->id)
58
+            ->sort('dateCreated', 'desc');
59 59
         $result = $qb->getQuery()->execute()->skip(1);
60 60
         foreach ($result as $item) {
61 61
             $id = $item['_id'];
Please login to merge, or discard this patch.
src/Organizations/Controller/Plugin/AcceptInvitationHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
 
128 128
     public function process($token, $organizationId)
129 129
     {
130
-        $organizationRepository   = $this->getOrganizationRepository();
130
+        $organizationRepository = $this->getOrganizationRepository();
131 131
         $organization = $organizationRepository->find($organizationId); /* @var $organization \Organizations\Entity\OrganizationInterface */
132 132
 
133 133
         if (!$organization) {
Please login to merge, or discard this patch.