Completed
Pull Request — develop (#346)
by ANTHONIUS
06:57
created
Jobs/src/Jobs/Factory/Form/Hydrator/OrganizationNameHydratorFactory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * @filesource
6 6
  * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7 7
  * @license   MIT
8
-  */
8
+ */
9 9
 
10 10
 namespace Jobs\Factory\Form\Hydrator;
11 11
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/Job.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $elements = [
60 60
             'general' => [
61 61
                 'priority' => 100,
62
-                'options' => [ 'label' => 'Basic Data' ],
62
+                'options' => ['label' => 'Basic Data'],
63 63
                 'property' => true,
64 64
                 'forms' => [
65 65
 
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 
104 104
             'description' => [
105 105
                 'priority' => '80',
106
-                'options' => [ 'label' => 'Job opening' ],
106
+                'options' => ['label' => 'Job opening'],
107 107
                 'property' => true,
108 108
                 'forms' => [
109 109
                     'descriptionForm' => array(
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 
116 116
             'preview' => [
117 117
                 'priority' => 60,
118
-                'options' => [ 'label' => 'Preview' ],
118
+                'options' => ['label' => 'Preview'],
119 119
                 'property' => true,
120 120
                 'forms' => [
121 121
                     'previewForm' => array(
@@ -129,13 +129,13 @@  discard block
 block discarded – undo
129 129
 
130 130
         $this->setForms($elements);
131 131
 
132
-        $events  = $this->getEventManager();
132
+        $events = $this->getEventManager();
133 133
         $events->trigger(FormEvent::EVENT_INIT, $this);
134 134
     }
135 135
 
136 136
     public function renderPost(Renderer $renderer)
137 137
     {
138
-        $coreformsjs   = $renderer->basepath('/Core/js/core.forms.js');
138
+        $coreformsjs = $renderer->basepath('/Core/js/core.forms.js');
139 139
         $javaScript = <<<JS
140 140
         $(document).ready(function() {
141 141
 
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Form/LogoImageFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      *
29 29
      * @var string
30 30
      */
31
-    protected $options="Jobs/Options";
31
+    protected $options = "Jobs/Options";
32 32
 
33 33
     /**
34 34
      * Configure the Form width Options
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Entity/OrganizationInterface.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -107,23 +107,23 @@
 block discarded – undo
107 107
 
108 108
 
109 109
     /**
110
-    * Sets the name of the organization
111
-    *
112
-    * @param OrganizationName organizationName
113
-    * @return OrganizationInterface
114
-    */
110
+     * Sets the name of the organization
111
+     *
112
+     * @param OrganizationName organizationName
113
+     * @return OrganizationInterface
114
+     */
115 115
     public function setOrganizationName(OrganizationName $organizationNames);
116 116
 
117
-   /**
118
-    * Gets the name of the organization
119
-    *
120
-    * @return OrganizationName
121
-    */
117
+    /**
118
+     * Gets the name of the organization
119
+     *
120
+     * @return OrganizationName
121
+     */
122 122
     public function getOrganizationName();
123 123
    
124
-      /**
125
-     * @return string
126
-     */
124
+        /**
125
+         * @return string
126
+         */
127 127
     public function getDescription();
128 128
 
129 129
     /**
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Entity/OrganizationContact.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      */
72 72
     public function setHouseNumber($houseNumber = "")
73 73
     {
74
-        $this->houseNumber=$houseNumber;
74
+        $this->houseNumber = $houseNumber;
75 75
         return $this;
76 76
     }
77 77
     
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
      */
138 138
     public function setStreet($street = "")
139 139
     {
140
-        $this->street=$street;
140
+        $this->street = $street;
141 141
         return $this;
142 142
     }
143 143
 
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
      */
161 161
     public function setPhone($phone = "")
162 162
     {
163
-        $this->phone=$phone;
163
+        $this->phone = $phone;
164 164
         return $this;
165 165
     }
166 166
 
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
      */
184 184
     public function setFax($fax = "")
185 185
     {
186
-        $this->fax=$fax;
186
+        $this->fax = $fax;
187 187
         return $this;
188 188
     }
189 189
 
Please login to merge, or discard this patch.
module/Geo/src/Geo/Controller/IndexController.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
         $query = $this->params()->fromQuery();
58 58
 
59
-        switch($this->plugin){
59
+        switch ($this->plugin) {
60 60
             case 'photon':
61 61
                 /* @var Plugin\Photon $geoApi */
62 62
                 $geoApi = $this->getPluginManager()->get('geo/photon');
@@ -70,19 +70,19 @@  discard block
 block discarded – undo
70 70
         }
71 71
         $result = array();
72 72
         if (!empty($query['q'])) {
73
-            $result = $geoApi($query['q'], $this->geoCoderUrl, $this->params('lang','de'));
73
+            $result = $geoApi($query['q'], $this->geoCoderUrl, $this->params('lang', 'de'));
74 74
         }
75 75
         $viewModel = new JsonModel($result);
76 76
         /* @var \Zend\Http\Response $response */
77 77
         $response = $this->getResponse();
78 78
 
79 79
         $date = new \DateTime();
80
-        $expires=$date->modify('+100 day');
80
+        $expires = $date->modify('+100 day');
81 81
 
82 82
         $response->getHeaders()
83
-            ->addHeaderLine('Pragma','cache')
84
-            ->addHeaderLine('Cache-Control',"max-age=290304000, public")
85
-            ->addHeaderLine('Expires',$expires->format(\DateTime::RFC1036));
83
+            ->addHeaderLine('Pragma', 'cache')
84
+            ->addHeaderLine('Cache-Control', "max-age=290304000, public")
85
+            ->addHeaderLine('Expires', $expires->format(\DateTime::RFC1036));
86 86
 
87 87
         return $viewModel;
88 88
     }
Please login to merge, or discard this patch.
module/Cv/src/Cv/Form/InputFilter/Employment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     {
27 27
         $this->add([
28 28
             'name' => 'endDate',
29
-            'required' => ! $data['currentIndicator']
29
+            'required' => !$data['currentIndicator']
30 30
         ]);
31 31
         
32 32
         return parent::setData($data);
Please login to merge, or discard this patch.
module/Cv/src/Cv/Form/SearchFormFieldset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
                 ],
63 63
                 'attributes' => [
64 64
                     'value' => '10', // default distance
65
-                    'data-searchbox' => -1,  // hide the search box
65
+                    'data-searchbox' => -1, // hide the search box
66 66
                     'data-allowclear' => 'false', // allow to clear a selected value
67 67
                     'data-placeholder' => /*@translate*/ 'Distance',
68 68
                 ]
Please login to merge, or discard this patch.
module/Cv/src/Cv/Entity/PreferredJob.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     
87 87
     public function setDesiredJob($desiredJob)
88 88
     {
89
-        $this->desiredJob=$desiredJob;
89
+        $this->desiredJob = $desiredJob;
90 90
         return $this;
91 91
     }
92 92
 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      */
106 106
     public function setDesiredLocation($desiredLocation)
107 107
     {
108
-        $this->desiredLocation=$desiredLocation;
108
+        $this->desiredLocation = $desiredLocation;
109 109
         return $this;
110 110
     }
111 111
 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     public function setWillingnessToTravel($willingnessToTravel)
145 145
     {
146
-        $this->willingnessToTravel=$willingnessToTravel;
146
+        $this->willingnessToTravel = $willingnessToTravel;
147 147
         return $this;
148 148
     }
149 149
 
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      */
163 163
     public function setExpectedSalary($expectedSalary)
164 164
     {
165
-        $this->expectedSalary=$expectedSalary;
165
+        $this->expectedSalary = $expectedSalary;
166 166
         return $this;
167 167
     }
168 168
 
Please login to merge, or discard this patch.