Passed
Push — develop ( fcad5b...722a36 )
by Mathias
18:06 queued 09:30
created
module/Jobs/src/Form/CompanyNameFieldset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      *
32 32
      * @var array
33 33
      */
34
-    protected $headscripts = [ 'modules/Jobs/js/forms.manager-select.js' ];
34
+    protected $headscripts = ['modules/Jobs/js/forms.manager-select.js'];
35 35
 
36 36
     public function setHeadscripts(array $scripts)
37 37
     {
Please login to merge, or discard this patch.
module/Jobs/src/Form/Element/StatusSelect.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
         $options = parent::getValueOptions();
83 83
 
84 84
         return true === $this->getOption('include_all_option')
85
-               ? array_merge([ 'all' => /*@translate*/ 'All' ], $options)
85
+               ? array_merge(['all' => /*@translate*/ 'All'], $options)
86 86
                : $options;
87 87
     }
88 88
 }
Please login to merge, or discard this patch.
module/Jobs/src/Form/View/Helper/PreviewLink.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
     public function render(ElementInterface $element, $options = null)
37 37
     {
38
-        $content = '<iframe src="' . $element->getValue() . '" name="preview" style="width:100%; height:800px;"></iframe>';
38
+        $content = '<iframe src="'.$element->getValue().'" name="preview" style="width:100%; height:800px;"></iframe>';
39 39
         return $content;
40 40
     }
41 41
 }
Please login to merge, or discard this patch.
module/Jobs/src/Form/ListFilterAdminFieldset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
                 ),
46 46
                 'attributes' => array(
47 47
                     'value' => Status::CREATED,
48
-                    'data-searchbox'  => -1,  // hide the search box
48
+                    'data-searchbox'  => -1, // hide the search box
49 49
                     'data-allowclear' => 'false', // allow to clear a selected value
50 50
                 )
51 51
             )
Please login to merge, or discard this patch.
module/Jobs/src/Form/OrganizationSelect.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,10 +63,10 @@
 block discarded – undo
63 63
             $image    = $org->getImage();
64 64
             $imageUrl = $image ? $image->getUri() : '';
65 65
 
66
-            $options[$org->getId()] = $name . '|'
67
-                                      . $contact->getCity() . '|'
68
-                                      . $contact->getStreet() . '|'
69
-                                      . $contact->getHouseNumber() . '|'
66
+            $options[$org->getId()] = $name.'|'
67
+                                      . $contact->getCity().'|'
68
+                                      . $contact->getStreet().'|'
69
+                                      . $contact->getHouseNumber().'|'
70 70
                                       . $imageUrl;
71 71
         }
72 72
 
Please login to merge, or discard this patch.
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 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/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/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.