Passed
Push — master ( 97bca0...c3d0da )
by Carsten
19:24 queued 12:32
created
module/Jobs/src/Form/JobDescriptionHtml.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
             'options' => [
52 52
                 'placeholder' => /*@translate*/ 'Enter pure html code here',
53 53
             ],
54
-                'attributes' => ['style' => 'width:100%;height:100%;',]
54
+                'attributes' => ['style' => 'width:100%;height:100%;', ]
55 55
             ]
56 56
         );
57 57
     }
Please login to merge, or discard this patch.
module/Jobs/src/Form/CategoriesContainer.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
                         'options' => [
39 39
                             'enable_descriptions' => true,
40 40
                             'description' => /*@translate*/ 'Manage the professions you want to assign to jobs.' .
41
-                                             /*@translate*/ 'The order of categories can be modified by drag&drop.',
41
+                                                /*@translate*/ 'The order of categories can be modified by drag&drop.',
42 42
                             'display_mode' => SummaryForm::DISPLAY_SUMMARY,
43 43
                         ],
44 44
                     ],
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
                         'options' => [
58 58
                             'enable_descriptions' => true,
59 59
                             'description' => /*@translate*/ 'Manage the industries you want to assign to jobs.' .
60
-                                             /*@translate*/ 'The order of categories can be modified by drag&drop.',
60
+                                                /*@translate*/ 'The order of categories can be modified by drag&drop.',
61 61
                             'display_mode' => SummaryForm::DISPLAY_SUMMARY,
62 62
                         ],
63 63
                     ],
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
                         'options' => [
77 77
                             'enable_descriptions' => true,
78 78
                             'description' => /*@translate*/ 'Manage the employment types you want to assign to jobs.'.
79
-                                             /*@translate*/ 'The order of categories can be modified by drag&drop.',
79
+                                                /*@translate*/ 'The order of categories can be modified by drag&drop.',
80 80
                             'display_mode' => SummaryForm::DISPLAY_SUMMARY,
81 81
                         ],
82 82
                     ],
Please login to merge, or discard this 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/Jobs/src/Form/MultipostFieldset.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -42,13 +42,13 @@
 block discarded – undo
42 42
 
43 43
         $this->add(
44 44
             array(
45
-                 'type' => 'Jobs/MultipostingSelect',
46
-                 'property' => true,
47
-                 'name' => 'portals',
48
-                 'options' => array(
49
-                     'label' => /*@translate*/ 'Portals',
50
-                 ),
51
-             )
45
+                    'type' => 'Jobs/MultipostingSelect',
46
+                    'property' => true,
47
+                    'name' => 'portals',
48
+                    'options' => array(
49
+                        'label' => /*@translate*/ 'Portals',
50
+                    ),
51
+                )
52 52
         );
53 53
     }
54 54
 
Please login to merge, or discard this patch.
module/Jobs/src/Form/ListFilterLocationFieldset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
                 ),
56 56
                 'attributes' => [
57 57
                     'value' => '10', // default distance
58
-                    'data-searchbox'  => -1,  // hide the search box
58
+                    'data-searchbox'  => -1, // hide the search box
59 59
                     'data-allowclear' => 'false', // allow to clear a selected value
60 60
                     'data-placeholder'  => /*@translate*/ 'Distance',
61 61
                 ]
Please login to merge, or discard this patch.
module/Jobs/src/Form/TemplateLabelBenefits.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,6 +62,6 @@
 block discarded – undo
62 62
                     )
63 63
                 )
64 64
             )
65
-       );
65
+        );
66 66
     }
67 67
 }
Please login to merge, or discard this patch.
module/Jobs/src/Form/Job.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 
117 117
             'description' => [
118 118
                 'priority' => '80',
119
-                'options' => [ 'label' => /*@translate*/ 'Create job opening' ],
119
+                'options' => ['label' => /*@translate*/ 'Create job opening'],
120 120
                 'property' => true,
121 121
                 'forms' => [
122 122
                     'descriptionForm' => array(
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 
129 129
             'preview' => [
130 130
                 'priority' => 60,
131
-                'options' => [ 'label' => /*@translate*/ 'Preview' ],
131
+                'options' => ['label' => /*@translate*/ 'Preview'],
132 132
                 'property' => true,
133 133
                 'forms' => [
134 134
                     'previewForm' => array(
@@ -142,13 +142,13 @@  discard block
 block discarded – undo
142 142
 
143 143
         $this->setForms($elements);
144 144
 
145
-        $events  = $this->getEventManager();
145
+        $events = $this->getEventManager();
146 146
         $events->trigger(FormEvent::EVENT_INIT, $this);
147 147
     }
148 148
 
149 149
     public function renderPost(Renderer $renderer)
150 150
     {
151
-        $coreformsjs   = $renderer->basepath('modules/Core/js/core.forms.js');
151
+        $coreformsjs = $renderer->basepath('modules/Core/js/core.forms.js');
152 152
         $javaScript = <<<JS
153 153
         $(document).ready(function() {
154 154
 
Please login to merge, or discard this patch.
module/Jobs/src/Form/MultipostButtonFieldset.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -24,19 +24,19 @@
 block discarded – undo
24 24
     public function init()
25 25
     {
26 26
         $this->add(
27
-             array(
28
-                 'type' => 'Core/Spinner-Submit',
29
-                 'name' => 'calculate',
30
-                 'options' => array(
31
-                     'label' => /*@translate*/ 'Calculate price',
32
-                 ),
33
-                 'attributes' => array(
34
-                     'id' => 'calculate',
35
-                     'type' => 'button',
36
-                     'value' => 'calculate',
37
-                     'class' => 'mps-calculate btn btn-success btn-xs'
38
-                 ),
39
-             )
27
+                array(
28
+                    'type' => 'Core/Spinner-Submit',
29
+                    'name' => 'calculate',
30
+                    'options' => array(
31
+                        'label' => /*@translate*/ 'Calculate price',
32
+                    ),
33
+                    'attributes' => array(
34
+                        'id' => 'calculate',
35
+                        'type' => 'button',
36
+                        'value' => 'calculate',
37
+                        'class' => 'mps-calculate btn btn-success btn-xs'
38
+                    ),
39
+                )
40 40
         );
41 41
 
42 42
         parent::init();
Please login to merge, or discard this patch.
module/Jobs/src/Form/TemplateLabelRequirements.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,6 +62,6 @@
 block discarded – undo
62 62
                     )
63 63
                 )
64 64
             )
65
-       );
65
+        );
66 66
     }
67 67
 }
Please login to merge, or discard this patch.
module/Jobs/src/Form/AdminJobEdit.php 2 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -30,21 +30,21 @@
 block discarded – undo
30 30
         ));
31 31
 
32 32
         $this->add([
33
-                       'type' => 'Jobs/StatusSelect',
33
+                        'type' => 'Jobs/StatusSelect',
34 34
 
35
-                   ]);
35
+                    ]);
36 36
 
37 37
         $this->add([
38
-                       'type' => 'Core/Datepicker',
39
-                       'name' => 'datePublishStart',
40
-                       'options' => [
41
-                           'label' => /*@translate*/ 'Start date',
42
-                           'description' => /*@translate*/ 'Set the start date of this job.',
43
-                       ],
44
-                       'attributes' => [
45
-                           'data-date-autoclose' => 'true',
46
-                       ],
47
-                   ]);
38
+                        'type' => 'Core/Datepicker',
39
+                        'name' => 'datePublishStart',
40
+                        'options' => [
41
+                            'label' => /*@translate*/ 'Start date',
42
+                            'description' => /*@translate*/ 'Set the start date of this job.',
43
+                        ],
44
+                        'attributes' => [
45
+                            'data-date-autoclose' => 'true',
46
+                        ],
47
+                    ]);
48 48
         $this->setIsDescriptionsEnabled(true);
49 49
     }
50 50
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 
57 57
         $statusStrategy = new ClosureStrategy(
58 58
             /* extract */
59
-            function ($object) {
59
+            function($object) {
60 60
                 return $object->getName();
61 61
             }
62 62
         );
Please login to merge, or discard this patch.