Completed
Push — develop ( 85a285...a5396a )
by Mathias
12:51 queued 05:46
created
module/Jobs/src/Jobs/Filter/ViewModelTemplateFilterAbstract.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      */
121 121
     public function setImageFileCacheHelper($imageFileCacheHelper)
122 122
     {
123
-        $this->imageFileCacheHelper=$imageFileCacheHelper;
123
+        $this->imageFileCacheHelper = $imageFileCacheHelper;
124 124
         return;
125 125
     }
126 126
 
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
         if (!isset($this->job)) {
147 147
             throw new \InvalidArgumentException('cannot create a viewModel for Templates without an $job');
148 148
         }
149
-        $model->setTemplate('templates/' . $this->job->getTemplate() . '/index');
149
+        $model->setTemplate('templates/'.$this->job->getTemplate().'/index');
150 150
         return $model;
151 151
     }
152 152
 
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
             throw new \InvalidArgumentException('cannot create a viewModel for Templates without aa $job');
207 207
         }
208 208
         $location = $this->job->getLocation();
209
-        $this->container['location'] = isset($location)?$location:'';
209
+        $this->container['location'] = isset($location) ? $location : '';
210 210
         return $this;
211 211
     }
212 212
 
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
         }
228 228
         $description = $this->job->getTemplateValues()->getDescription();
229 229
 
230
-        $this->container['description'] = isset($description)?$description:'';
230
+        $this->container['description'] = isset($description) ? $description : '';
231 231
         return $this;
232 232
     }
233 233
 
@@ -291,9 +291,9 @@  discard block
 block discarded – undo
291 291
         if (!isset($this->job)) {
292 292
             throw new \InvalidArgumentException('cannot create a viewModel for Templates without a $job');
293 293
         }
294
-        $labelQualifications='';
295
-        $labelBenefits='';
296
-        $labelRequirements='';
294
+        $labelQualifications = '';
295
+        $labelBenefits = '';
296
+        $labelRequirements = '';
297 297
 
298 298
         $organization = $this->job->getOrganization();
299 299
         if (isset($organization)) {
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Entity/OrganizationReference.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
         return $this->proxy('__isset', $property);
196 196
     }
197 197
 
198
-    public function notEmpty($property, array $args=[])
198
+    public function notEmpty($property, array $args = [])
199 199
     {
200 200
         return $this->proxy('notEmpty', $args);
201 201
     }
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
 
293 293
     public function setImages(\Core\Entity\ImageSet $images)
294 294
     {
295
-        return $this->proxy('setImages',$images);
295
+        return $this->proxy('setImages', $images);
296 296
     }
297 297
 
298 298
     public function setOrganizationName(OrganizationName $organizationNames)
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/CompanyNameFieldset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      *
34 34
      * @var array
35 35
      */
36
-    protected $headscripts = [ 'Jobs/js/forms.manager-select.js' ];
36
+    protected $headscripts = ['Jobs/js/forms.manager-select.js'];
37 37
 
38 38
     public function setHeadscripts(array $scripts)
39 39
     {
Please login to merge, or discard this patch.
module/Applications/src/Applications/Listener/EventApplicationCreated.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
                         [
89 89
                             'application' => $this->application,
90 90
                             'user' => $employee->getUser(),
91
-                            'bcc' => $adminSettings->getMailBCC() ? [ $admin ] : null,
91
+                            'bcc' => $adminSettings->getMailBCC() ? [$admin] : null,
92 92
                         ]
93 93
                     );
94 94
                 }
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
                 [
107 107
                     'job'   => $this->application->getJob(),
108 108
                     'user'  => $recruiter,
109
-                    'bcc' => $adminSettings->getMailBCC() ? [ $admin ] : null,
109
+                    'bcc' => $adminSettings->getMailBCC() ? [$admin] : null,
110 110
                 ]
111 111
             );
112 112
         }
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
                     [
124 124
                         'application' => $this->application,
125 125
                         'body'        => $ackBody,
126
-                        'bcc'         => $adminSettings->getMailBCC() ? [ $admin ] : null,
126
+                        'bcc'         => $adminSettings->getMailBCC() ? [$admin] : null,
127 127
                     ]
128 128
                 );
129 129
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/CategoriesContainer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
                         'property' => true,
38 38
                         'options' => [
39 39
                             'enable_descriptions' => true,
40
-                            'description' => /*@translate*/ 'Manage the professions you want to assign to jobs.' .
40
+                            'description' => /*@translate*/ 'Manage the professions you want to assign to jobs.'.
41 41
                                              /*@translate*/ 'The order of categories can be modified by drag&drop.',
42 42
                             'display_mode' => SummaryForm::DISPLAY_SUMMARY,
43 43
                         ],
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
                         'property' => true,
57 57
                         'options' => [
58 58
                             'enable_descriptions' => true,
59
-                            'description' => /*@translate*/ 'Manage the industries you want to assign to jobs.' .
59
+                            'description' => /*@translate*/ 'Manage the industries you want to assign to jobs.'.
60 60
                                              /*@translate*/ 'The order of categories can be modified by drag&drop.',
61 61
                             'display_mode' => SummaryForm::DISPLAY_SUMMARY,
62 62
                         ],
Please login to merge, or discard this patch.
module/Cv/src/Cv/Form/SearchForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
                  ],
67 67
                  'attributes' => [
68 68
                      'value' => '10', // default distance
69
-                     'data-searchbox' => -1,  // hide the search box
69
+                     'data-searchbox' => -1, // hide the search box
70 70
                      'data-allowclear' => 'false', // allow to clear a selected value
71 71
                      'data-placeholder' => /*@translate*/ 'Distance',
72 72
                      'data-width' => '100%',
Please login to merge, or discard this patch.
module/Auth/src/Auth/Controller/Plugin/SocialProfiles/AbstractAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public function fetch($api)
36 36
     {
37
-        $result  = $this->queryApi($api);
37
+        $result = $this->queryApi($api);
38 38
         if (!$result) {
39 39
             return false;
40 40
         }
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         $class = get_class($this);
61 61
         $class = explode('\\', $class);
62 62
         $class = array_pop($class);
63
-        $class = '\\Auth\\Entity\\SocialProfiles\\' . $class;
63
+        $class = '\\Auth\\Entity\\SocialProfiles\\'.$class;
64 64
         
65 65
         return $class;
66 66
     }
Please login to merge, or discard this patch.
module/Core/src/Core/Factory/EventManager/EventManagerAbstractFactory.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      */
165 165
     public function createServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
166 166
     {
167
-        return $this($serviceLocator,$requestedName);
167
+        return $this($serviceLocator, $requestedName);
168 168
     }
169 169
 
170 170
     /**
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
         $defaults = [
184 184
             'service' => 'EventManager',
185 185
             'configure' => true,
186
-            'identifiers' => [ $name ],
186
+            'identifiers' => [$name],
187 187
             'event' => '\Zend\EventManager\Event',
188 188
             'listeners' => [],
189 189
         ];
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
         foreach ($listeners as $name => $options) {
275 275
             $options = $this->normalizeListenerOptions($name, $options);
276 276
 
277
-            if ($options['lazy'] && null !== $options['attach'] ) {
277
+            if ($options['lazy'] && null !== $options['attach']) {
278 278
                 foreach ($options['attach'] as $spec) {
279 279
                     $lazyListeners[] = [
280 280
                         'service' => $options['service'],
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
             }
305 305
 
306 306
             foreach ($options['attach'] as $spec) {
307
-                $callback = $spec['method'] ? [ $listener, $spec['method'] ] : $listener;
307
+                $callback = $spec['method'] ? [$listener, $spec['method']] : $listener;
308 308
                 $eventManager->attach($spec['event'], $callback, $spec['priority']);
309 309
             }
310 310
         }
@@ -375,7 +375,7 @@  discard block
 block discarded – undo
375 375
 
376 376
         if (is_string($options)) {
377 377
             /* Only an event name is provided in config */
378
-            $normalized['attach'] = [ [ 'event' => $options, 'method' => null, 'priority' => 1 ] ];
378
+            $normalized['attach'] = [['event' => $options, 'method' => null, 'priority' => 1]];
379 379
             return $normalized;
380 380
 
381 381
         }
@@ -404,7 +404,7 @@  discard block
 block discarded – undo
404 404
             } else if (is_string($opt)) {
405 405
                 if (null === $event) {
406 406
                     /* first string found is assumed to be the event name */
407
-                    $event = [ $opt ];
407
+                    $event = [$opt];
408 408
                 } else {
409 409
                     /* second string found must be a method name. */
410 410
                     $method = $opt;
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
         }
422 422
 
423 423
         foreach ($event as &$eventSpec) {
424
-            $eventSpec = [ 'event' => $eventSpec, 'method' => $method, 'priority' => $priority ];
424
+            $eventSpec = ['event' => $eventSpec, 'method' => $method, 'priority' => $priority];
425 425
         }
426 426
 
427 427
         $normalized['attach'] = $event;
@@ -433,7 +433,7 @@  discard block
 block discarded – undo
433 433
     protected function normalizeEventsSpec($options)
434 434
     {
435 435
         $listenerPriority = isset($options['priority']) ? $options['priority'] : 1;
436
-        $listenerMethod   = isset($options['method'])   ? $options['method']   : '__none__';
436
+        $listenerMethod   = isset($options['method']) ? $options['method'] : '__none__';
437 437
         $events = [];
438 438
 
439 439
         foreach ($options['events'] as $event => $spec) {
@@ -453,7 +453,7 @@  discard block
 block discarded – undo
453 453
             } else if (is_array($spec)) {
454 454
                 if (isset($spec['method'])) {
455 455
                     if (!is_array($spec['method'])) {
456
-                        $spec['method'] = [ $spec['method'] ];
456
+                        $spec['method'] = [$spec['method']];
457 457
                     }
458 458
 
459 459
                     foreach ($spec['method'] as $method => $methodPriority) {
Please login to merge, or discard this patch.
module/Auth/src/Auth/Options/CaptchaOptions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,9 +40,9 @@
 block discarded – undo
40 40
      * @var array
41 41
      */
42 42
     protected $reCaptcha = [
43
-        'site_key' => 'Your Recapture Public Key',      // "site_key"
44
-        'secret_key' => 'Your Recapture Private Key',    // "secret_key"
45
-        'ssl' => true,                                    // include google api via http(s)
43
+        'site_key' => 'Your Recapture Public Key', // "site_key"
44
+        'secret_key' => 'Your Recapture Private Key', // "secret_key"
45
+        'ssl' => true, // include google api via http(s)
46 46
         ];
47 47
 
48 48
     /**
Please login to merge, or discard this patch.