Completed
Push — develop ( 18e071...685f84 )
by
unknown
08:14
created
module/Jobs/src/Jobs/Factory/Form/JobboardSearchFactory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,9 +32,9 @@
 block discarded – undo
32 32
         $options = $container->get('Geo/Options');
33 33
         /* @var \Jobs\Options\JobboardSearchOptions $jobboardSearchOptions */
34 34
         $fs = new JobboardSearch([
35
-                                     'location_engine_type' => $options->getPlugin(),
36
-                                     'button_element' => 'd',
37
-                                 ]);
35
+                                        'location_engine_type' => $options->getPlugin(),
36
+                                        'button_element' => 'd',
37
+                                    ]);
38 38
 
39 39
 
40 40
         return $fs;
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Options/JobboardSearchOptions.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@
 block discarded – undo
19 19
  */
20 20
 class JobboardSearchOptions extends FieldsetCustomizationOptions
21 21
 {
22
-   protected $fields=[
23
-       'q' => [
22
+    protected $fields=[
23
+        'q' => [
24 24
             'enabled' => true
25 25
         ],
26 26
         'l' => [
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
  */
20 20
 class JobboardSearchOptions extends FieldsetCustomizationOptions
21 21
 {
22
-   protected $fields=[
22
+   protected $fields = [
23 23
        'q' => [
24 24
             'enabled' => true
25 25
         ],
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     /**
44 44
      * @return int
45 45
      */
46
-    public function getPerPage(){
46
+    public function getPerPage() {
47 47
         return $this->perPage;
48 48
     }
49 49
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      * @param $perPage
52 52
      */
53 53
     public function setPerPage($perPage) {
54
-        $this->perPage=$perPage;
54
+        $this->perPage = $perPage;
55 55
     }
56 56
 
57 57
 }
58 58
\ No newline at end of file
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/JobboardSearch.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -57,16 +57,16 @@
 block discarded – undo
57 57
         $this->setButtonElement('q');
58 58
 
59 59
             $this->add([
60
-                           'name'       => 'l',
61
-                           'type'       => 'LocationSelect',
62
-                           'options'    => [
63
-                               'label' => 'Location',
64
-                               'span'  => 3
65
-                           ],
66
-                           'attributes' => [
67
-                               'data-width' => '100%',
68
-                           ]
69
-                       ]
60
+                            'name'       => 'l',
61
+                            'type'       => 'LocationSelect',
62
+                            'options'    => [
63
+                                'label' => 'Location',
64
+                                'span'  => 3
65
+                            ],
66
+                            'attributes' => [
67
+                                'data-width' => '100%',
68
+                            ]
69
+                        ]
70 70
             );
71 71
             $this->setButtonElement('l');
72 72
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
             $this->locationEngineType = $options['location_engine_type'];
46 46
         }
47 47
         if (array_key_exists('options', $options)) {
48
-            $this->jobboardSearchOptions=$options['options'];
48
+            $this->jobboardSearchOptions = $options['options'];
49 49
         }
50 50
         $this->setOptions($options);
51 51
     }
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
                     ),
90 90
                     'attributes' => [
91 91
                         'value'            => '10', // default distance
92
-                        'data-searchbox'   => -1,  // hide the search box
92
+                        'data-searchbox'   => -1, // hide the search box
93 93
                         'data-allowclear'  => 'false', // allow to clear a selected value
94 94
                         'data-placeholder' => /*@translate*/ 'Distance',
95 95
                         'data-width'       => '100%',
Please login to merge, or discard this patch.
module/Jobs/config/module.config.php 1 patch
Spacing   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
                  * for multiple paths.
16 16
                  * example https://github.com/doctrine/DoctrineORMModule
17 17
                  */
18
-                'paths' => array( __DIR__ . '/../src/Jobs/Entity'),
18
+                'paths' => array(__DIR__.'/../src/Jobs/Entity'),
19 19
             ),
20 20
         ),
21 21
         'eventmanager' => array(
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     ),
29 29
 
30 30
     'options' => [
31
-        'Jobs/JobboardSearchOptions' => [ 'class' => '\Jobs\Options\JobboardSearchOptions' ],
31
+        'Jobs/JobboardSearchOptions' => ['class' => '\Jobs\Options\JobboardSearchOptions'],
32 32
     ],
33 33
 
34 34
     'Jobs' => array(
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             'translation_file_patterns' => array(
51 51
                     array(
52 52
                             'type'     => 'gettext',
53
-                            'base_dir' => __DIR__ . '/../language',
53
+                            'base_dir' => __DIR__.'/../language',
54 54
                             'pattern'  => '%s.mo',
55 55
                     ),
56 56
             ),
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
                     'Jobboard',
90 90
                     'Jobs/Jobboard',
91 91
                     'Jobs/ApiJobListByChannel',
92
-                    'Jobs/Template' => [ 'view', 'edittemplate' ],
92
+                    'Jobs/Template' => ['view', 'edittemplate'],
93 93
                     'Jobs/Manage' => array(
94 94
                         'template',
95 95
                     ),
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
     ),
227 227
 
228 228
     'event_manager' => [
229
-        'Core/AdminController/Events' => [ 'listeners' => [
229
+        'Core/AdminController/Events' => ['listeners' => [
230 230
             'Jobs/Listener/AdminWidgetProvider' => \Core\Controller\AdminControllerEvent::EVENT_DASHBOARD,
231 231
         ]],
232 232
 
@@ -288,40 +288,40 @@  discard block
 block discarded – undo
288 288
     'view_manager' => array(
289 289
         // Map template to files. Speeds up the lookup through the template stack.
290 290
         'template_map' => array(
291
-            'jobs/form/list-filter' => __DIR__ . '/../view/form/list-filter.phtml',
292
-            'jobs/form/apply-identifier' => __DIR__ . '/../view/form/apply-identifier.phtml',
293
-            'jobs/form/hiring-organization-select' => __DIR__ . '/../view/form/hiring-organization-select.phtml',
294
-            'jobs/form/multiposting-select' => __DIR__ . '/../view/form/multiposting-select.phtml',
295
-            'jobs/form/multiposting-checkboxes' => __DIR__ . '/../view/form/multiposting-checkboxes.phtml',
296
-            'jobs/form/ats-mode.view' => __DIR__ . '/../view/form/ats-mode.view.phtml',
297
-            'jobs/form/ats-mode.form' => __DIR__ . '/../view/form/ats-mode.form.phtml',
298
-            'jobs/form/preview' => __DIR__ . '/../view/form/preview.phtml',
299
-            'jobs/form/customer-note' => __DIR__ . '/../view/form/customer-note.phtml',
300
-            'jobs/partials/channel-list' => __DIR__ . '/../view/partials/channel-list.phtml',
301
-            'jobs/assign-user' => __DIR__ . '/../view/jobs/manage/assign-user.phtml',
302
-            'jobs/snapshot_or_preview' => __DIR__ . '/../view/partials/snapshot_or_preview.phtml',
303
-            'jobs/history' => __DIR__ . '/../view/partials/history.phtml',
304
-            'jobs/portalsummary' => __DIR__ . '/../view/partials/portalsummary.phtml',
305
-            'content/jobs-publish-on-yawik' => __DIR__ . '/../view/modals/yawik.phtml',
306
-            'content/jobs-publish-on-jobsintown' => __DIR__ . '/../view/modals/jobsintown.phtml',
307
-            'content/jobs-publish-on-homepage' => __DIR__ . '/../view/modals/homepage.phtml',
308
-            'content/jobs-publish-on-fazjob' => __DIR__ . '/../view/modals/fazjob.phtml',
309
-            'content/jobs-terms-and-conditions' => __DIR__ . '/../view/jobs/index/terms.phtml',
310
-            'mail/job-created' => __DIR__ . '/../view/mails/job-created.phtml',
311
-            'mail/job-pending' => __DIR__ . '/../view/mails/job-pending.phtml',
312
-            'mail/job-accepted' => __DIR__ . '/../view/mails/job-accepted.phtml',
313
-            'mail/job-rejected' => __DIR__ . '/../view/mails/job-rejected.phtml',
314
-            'mail/job-created.en' => __DIR__ . '/../view/mails/job-created.en.phtml',
315
-            'mail/job-pending.en' => __DIR__ . '/../view/mails/job-pending.en.phtml',
316
-            'mail/job-accepted.en' => __DIR__ . '/../view/mails/job-accepted.en.phtml',
317
-            'mail/job-rejected.en' => __DIR__ . '/../view/mails/job-rejected.en.phtml',
318
-            'jobs/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml',
319
-            'jobs/error/expired' => __DIR__ . '/../view/error/expired.phtml',
291
+            'jobs/form/list-filter' => __DIR__.'/../view/form/list-filter.phtml',
292
+            'jobs/form/apply-identifier' => __DIR__.'/../view/form/apply-identifier.phtml',
293
+            'jobs/form/hiring-organization-select' => __DIR__.'/../view/form/hiring-organization-select.phtml',
294
+            'jobs/form/multiposting-select' => __DIR__.'/../view/form/multiposting-select.phtml',
295
+            'jobs/form/multiposting-checkboxes' => __DIR__.'/../view/form/multiposting-checkboxes.phtml',
296
+            'jobs/form/ats-mode.view' => __DIR__.'/../view/form/ats-mode.view.phtml',
297
+            'jobs/form/ats-mode.form' => __DIR__.'/../view/form/ats-mode.form.phtml',
298
+            'jobs/form/preview' => __DIR__.'/../view/form/preview.phtml',
299
+            'jobs/form/customer-note' => __DIR__.'/../view/form/customer-note.phtml',
300
+            'jobs/partials/channel-list' => __DIR__.'/../view/partials/channel-list.phtml',
301
+            'jobs/assign-user' => __DIR__.'/../view/jobs/manage/assign-user.phtml',
302
+            'jobs/snapshot_or_preview' => __DIR__.'/../view/partials/snapshot_or_preview.phtml',
303
+            'jobs/history' => __DIR__.'/../view/partials/history.phtml',
304
+            'jobs/portalsummary' => __DIR__.'/../view/partials/portalsummary.phtml',
305
+            'content/jobs-publish-on-yawik' => __DIR__.'/../view/modals/yawik.phtml',
306
+            'content/jobs-publish-on-jobsintown' => __DIR__.'/../view/modals/jobsintown.phtml',
307
+            'content/jobs-publish-on-homepage' => __DIR__.'/../view/modals/homepage.phtml',
308
+            'content/jobs-publish-on-fazjob' => __DIR__.'/../view/modals/fazjob.phtml',
309
+            'content/jobs-terms-and-conditions' => __DIR__.'/../view/jobs/index/terms.phtml',
310
+            'mail/job-created' => __DIR__.'/../view/mails/job-created.phtml',
311
+            'mail/job-pending' => __DIR__.'/../view/mails/job-pending.phtml',
312
+            'mail/job-accepted' => __DIR__.'/../view/mails/job-accepted.phtml',
313
+            'mail/job-rejected' => __DIR__.'/../view/mails/job-rejected.phtml',
314
+            'mail/job-created.en' => __DIR__.'/../view/mails/job-created.en.phtml',
315
+            'mail/job-pending.en' => __DIR__.'/../view/mails/job-pending.en.phtml',
316
+            'mail/job-accepted.en' => __DIR__.'/../view/mails/job-accepted.en.phtml',
317
+            'mail/job-rejected.en' => __DIR__.'/../view/mails/job-rejected.en.phtml',
318
+            'jobs/error/no-parent' => __DIR__.'/../view/error/no-parent.phtml',
319
+            'jobs/error/expired' => __DIR__.'/../view/error/expired.phtml',
320 320
         ),
321 321
 
322 322
         // Where to look for view templates not mapped above
323 323
         'template_path_stack' => array(
324
-            __DIR__ . '/../view',
324
+            __DIR__.'/../view',
325 325
         ),
326 326
     ),
327 327
 
Please login to merge, or discard this patch.