Passed
Push — master ( 97bca0...c3d0da )
by Carsten
19:24 queued 12:32
created
module/Jobs/src/Repository/DefaultCategoriesBuilder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -67,13 +67,13 @@
 block discarded – undo
67 67
         $file = "jobs.categories.$type.php";
68 68
 
69 69
         foreach ($this->globalConfigPaths as $path) {
70
-            if (file_exists($path . $file)) {
71
-                return include $path . $file;
70
+            if (file_exists($path.$file)) {
71
+                return include $path.$file;
72 72
             }
73 73
         }
74 74
 
75
-        if (file_exists($this->moduleConfigPath . $file)) {
76
-            return include $this->moduleConfigPath . $file;
75
+        if (file_exists($this->moduleConfigPath.$file)) {
76
+            return include $this->moduleConfigPath.$file;
77 77
         }
78 78
 
79 79
         return false;
Please login to merge, or discard this patch.
module/Jobs/src/Form/BaseFieldset.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,14 +46,14 @@  discard block
 block discarded – undo
46 46
 
47 47
             $locationsStrategy = new \Zend\Hydrator\Strategy\ClosureStrategy(
48 48
                 /* extract */
49
-                function ($value) use ($geoLocationStrategy, $geoLocationIsMultiple) {
49
+                function($value) use ($geoLocationStrategy, $geoLocationIsMultiple) {
50 50
                     $value = $geoLocationIsMultiple ? $value : $value->first();
51 51
 
52 52
                     return $geoLocationStrategy->extract($value);
53 53
                 },
54 54
 
55 55
                 /* hydrate */
56
-                function ($value) use ($geoLocationStrategy, $geoLocationIsMultiple) {
56
+                function($value) use ($geoLocationStrategy, $geoLocationIsMultiple) {
57 57
                     if ($geoLocationIsMultiple) {
58 58
                         return $geoLocationStrategy->hydrate($value);
59 59
                     }
@@ -123,14 +123,14 @@  discard block
 block discarded – undo
123 123
         $values = [];
124 124
         foreach ($this->object->getLocations() as $loc) {
125 125
             $values[] = trim(
126
-                $loc->getPostalCode() . ' ' . $loc->getCity() . ', ' . $loc->getRegion(),
126
+                $loc->getPostalCode().' '.$loc->getCity().', '.$loc->getRegion(),
127 127
                 ' ,'
128 128
             );
129 129
         }
130 130
 
131 131
         if (count($values)) {
132 132
             if ($isMultiple) {
133
-                return '<ul><li>' . join('</li><li>', $values) . '</li></ul>';
133
+                return '<ul><li>'.join('</li><li>', $values).'</li></ul>';
134 134
             } else {
135 135
                 return $values[0];
136 136
             }
Please login to merge, or discard this patch.
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 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         if (true === $this->getOption('include_all_option')) {
37 37
             $valueOptions = array_merge([
38 38
                                             'all' => /*@translate*/ 'All',
39
-                                         ], $valueOptions);
39
+                                            ], $valueOptions);
40 40
         }
41 41
 
42 42
         $this->setValueOptions($valueOptions);
Please login to merge, or discard this 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/TemplateLabelQualifications.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/Multipost.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,9 +60,9 @@
 block discarded – undo
60 60
     protected function addButtonsFieldset()
61 61
     {
62 62
         $this->add(
63
-             array(
64
-                 'type' => 'Jobs/MultipostButtonFieldset'
65
-             )
63
+                array(
64
+                    'type' => 'Jobs/MultipostButtonFieldset'
65
+                )
66 66
         );
67 67
     }
68 68
 }
Please login to merge, or discard this patch.
module/Jobs/src/Form/InputFilter/JobLocationNew.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     {
18 18
         parent::init();
19 19
         $input = $this->get('applyId')
20
-                      ->getValidatorChain()
21
-                      ->attachByName('Jobs/Form/UniqueApplyId');
20
+                        ->getValidatorChain()
21
+                        ->attachByName('Jobs/Form/UniqueApplyId');
22 22
     }
23 23
 }
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.