Passed
Push — php-cs-fixer ( b7e6c1...b932d3 )
by Fabio
31:05 queued 15:54
created
framework/Web/UI/ActiveControls/TActiveRadioButton.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
 	protected function renderInputTag($writer, $clientID, $onclick)
136 136
 	{
137 137
 		parent::renderInputTag($writer, $clientID, $onclick);
138
-		if ($this->getAutoPostBack())
138
+		if($this->getAutoPostBack())
139 139
 			$this->getActiveControl()->registerCallbackClientScript(
140 140
 				$this->getClientClassName(), $this->getPostBackOptions());
141 141
 	}
Please login to merge, or discard this patch.
framework/Web/UI/TThemeManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
 	 * @param string|null $class Theme class name in namespace format
103 103
 	 */
104 104
 	public function setThemeClass($class) {
105
-		$this->_themeClass = $class === null ? self::DEFAULT_THEMECLASS : (string)$class;
105
+		$this->_themeClass = $class === null ? self::DEFAULT_THEMECLASS : (string) $class;
106 106
 	}
107 107
 
108 108
 	/**
Please login to merge, or discard this patch.
framework/Web/UI/JuiControls/TJuiResizable.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 	 */
80 80
 	public function getOptions()
81 81
 	{
82
-		if (($options = $this->getViewState('JuiOptions')) === null)
82
+		if(($options = $this->getViewState('JuiOptions')) === null)
83 83
 		{
84 84
 		  $options = new TJuiControlOptions($this);
85 85
 		  $this->setViewState('JuiOptions', $options);
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
 	 * Raises the OnCreate event
144 144
 	 * @param object $params event parameters
145 145
 	 */
146
-	public function onCreate ($params)
146
+	public function onCreate($params)
147 147
 	{
148 148
 		$this->raiseEvent('OnCreate', $this, $params);
149 149
 	}
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 	 * Raises the OnResize event
153 153
 	 * @param object $params event parameters
154 154
 	 */
155
-	public function onResize ($params)
155
+	public function onResize($params)
156 156
 	{
157 157
 		$this->raiseEvent('OnResize', $this, $params);
158 158
 	}
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 	 * Raises the OnStart event
162 162
 	 * @param object $params event parameters
163 163
 	 */
164
-	public function onStart ($params)
164
+	public function onStart($params)
165 165
 	{
166 166
 		$this->raiseEvent('OnStart', $this, $params);
167 167
 	}
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 	 * Raises the OnStop event
171 171
 	 * @param object $params event parameters
172 172
 	 */
173
-	public function onStop ($params)
173
+	public function onStop($params)
174 174
 	{
175 175
 		$this->raiseEvent('OnStop', $this, $params);
176 176
 	}
Please login to merge, or discard this patch.
framework/Web/UI/JuiControls/TJuiDatePicker.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 	 */
79 79
 	public function getOptions()
80 80
 	{
81
-		if (($options = $this->getViewState('JuiOptions')) === null)
81
+		if(($options = $this->getViewState('JuiOptions')) === null)
82 82
 		{
83 83
 		  $options = new TJuiControlOptions($this);
84 84
 		  $this->setViewState('JuiOptions', $options);
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
 	protected function getTimeStampFromText()
277 277
 	{
278 278
 		$pattern = $this->getDateFormat();
279
-		$pattern = str_replace(['MMMM', 'MMM'], ['MM','MM'], $pattern);
279
+		$pattern = str_replace(['MMMM', 'MMM'], ['MM', 'MM'], $pattern);
280 280
 		$formatter = new TSimpleDateFormatter($pattern);
281 281
 		return $formatter->parse($this->getText());
282 282
 	}
Please login to merge, or discard this patch.
framework/Web/UI/JuiControls/TJuiSlider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
 	 */
84 84
 	public function getOptions()
85 85
 	{
86
-		if (($options = $this->getViewState('JuiOptions')) === null)
86
+		if(($options = $this->getViewState('JuiOptions')) === null)
87 87
 		{
88 88
 		  $options = new TJuiControlOptions($this);
89 89
 		  $this->setViewState('JuiOptions', $options);
Please login to merge, or discard this patch.
framework/Web/UI/JuiControls/TJuiSelectable.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 	 */
82 82
 	public function getOptions()
83 83
 	{
84
-		if (($options = $this->getViewState('JuiOptions')) === null)
84
+		if(($options = $this->getViewState('JuiOptions')) === null)
85 85
 		{
86 86
 		  $options = new TJuiControlOptions($this);
87 87
 		  $this->setViewState('JuiOptions', $options);
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 	 * Raises the OnCreate event
150 150
 	 * @param object $params event parameters
151 151
 	 */
152
-	public function onCreate ($params)
152
+	public function onCreate($params)
153 153
 	{
154 154
 		$this->raiseEvent('OnCreate', $this, $params);
155 155
 	}
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 	 * Raises the OnSelected event
159 159
 	 * @param object $params event parameters
160 160
 	 */
161
-	public function onSelected ($params)
161
+	public function onSelected($params)
162 162
 	{
163 163
 		$this->raiseEvent('OnSelected', $this, $params);
164 164
 	}
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
 	 * Raises the OnSelecting event
168 168
 	 * @param object $params event parameters
169 169
 	 */
170
-	public function onSelecting ($params)
170
+	public function onSelecting($params)
171 171
 	{
172 172
 		$this->raiseEvent('OnSelecting', $this, $params);
173 173
 	}
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
 	 * Raises the OnStart event
177 177
 	 * @param object $params event parameters
178 178
 	 */
179
-	public function onStart ($params)
179
+	public function onStart($params)
180 180
 	{
181 181
 		$this->raiseEvent('OnStart', $this, $params);
182 182
 	}
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
 	 * Raises the OnStop event
186 186
 	 * @param object $params event parameters
187 187
 	 */
188
-	public function onStop ($params)
188
+	public function onStop($params)
189 189
 	{
190 190
 		$this->raiseEvent('OnStop', $this, $params);
191 191
 	}
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
 	 * Raises the OnUnselected event
195 195
 	 * @param object $params event parameters
196 196
 	 */
197
-	public function onUnselected ($params)
197
+	public function onUnselected($params)
198 198
 	{
199 199
 		$this->raiseEvent('OnUnselected', $this, $params);
200 200
 	}
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
 	 * Raises the OnUnselecting event
204 204
 	 * @param object $params event parameters
205 205
 	 */
206
-	public function onUnselecting ($params)
206
+	public function onUnselecting($params)
207 207
 	{
208 208
 		$this->raiseEvent('OnUnselecting', $this, $params);
209 209
 	}
Please login to merge, or discard this patch.
framework/Web/UI/JuiControls/TJuiDialogButton.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 		return [
67 67
 			'text' => $this->getText(),
68 68
 			'click' => new TJavaScriptLiteral("function(){new Prado.Callback('" . $this->getUniqueID() . "', 'onClick');}"
69
-			)] ;
69
+			)];
70 70
 	}
71 71
 
72 72
 	/**
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 	 * Raises the OnClick event
90 90
 	 * @param object $params event parameters
91 91
 	 */
92
-	public function onClick ($params)
92
+	public function onClick($params)
93 93
 	{
94 94
 		$this->raiseEvent('OnClick', $this, $params);
95 95
 	}
Please login to merge, or discard this patch.
framework/Web/UI/JuiControls/TJuiSortable.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 	 */
79 79
 	public function getOptions()
80 80
 	{
81
-		if (($options = $this->getViewState('JuiOptions')) === null)
81
+		if(($options = $this->getViewState('JuiOptions')) === null)
82 82
 		{
83 83
 		  $options = new TJuiControlOptions($this);
84 84
 		  $this->setViewState('JuiOptions', $options);
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
 	 * Raises the OnActivate event
148 148
 	 * @param object $params event parameters
149 149
 	 */
150
-	public function onActivate ($params)
150
+	public function onActivate($params)
151 151
 	{
152 152
 		$this->raiseEvent('OnActivate', $this, $params);
153 153
 	}
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
 	 * Raises the OnBeforeStop event
157 157
 	 * @param object $params event parameters
158 158
 	 */
159
-	public function onBeforeStop ($params)
159
+	public function onBeforeStop($params)
160 160
 	{
161 161
 		$this->raiseEvent('OnBeforeStop', $this, $params);
162 162
 	}
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 	 * Raises the OnChange event
166 166
 	 * @param object $params event parameters
167 167
 	 */
168
-	public function onChange ($params)
168
+	public function onChange($params)
169 169
 	{
170 170
 		$this->raiseEvent('OnChange', $this, $params);
171 171
 	}
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 	 * Raises the OnCreate event
175 175
 	 * @param object $params event parameters
176 176
 	 */
177
-	public function onCreate ($params)
177
+	public function onCreate($params)
178 178
 	{
179 179
 		$this->raiseEvent('OnCreate', $this, $params);
180 180
 	}
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
 	 * Raises the OnDeactivate event
184 184
 	 * @param object $params event parameters
185 185
 	 */
186
-	public function onDeactivate ($params)
186
+	public function onDeactivate($params)
187 187
 	{
188 188
 		$this->raiseEvent('OnDeactivate', $this, $params);
189 189
 	}
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
 	 * Raises the OnOut event
193 193
 	 * @param object $params event parameters
194 194
 	 */
195
-	public function onOut ($params)
195
+	public function onOut($params)
196 196
 	{
197 197
 		$this->raiseEvent('OnOut', $this, $params);
198 198
 	}
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
 	 * Raises the OnOver event
202 202
 	 * @param object $params event parameters
203 203
 	 */
204
-	public function onOver ($params)
204
+	public function onOver($params)
205 205
 	{
206 206
 		$this->raiseEvent('OnOver', $this, $params);
207 207
 	}
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
 	 * Raises the OnReceive event
211 211
 	 * @param object $params event parameters
212 212
 	 */
213
-	public function onReceive ($params)
213
+	public function onReceive($params)
214 214
 	{
215 215
 		$this->raiseEvent('OnReceive', $this, $params);
216 216
 	}
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
 	 * Raises the OnRemove event
220 220
 	 * @param object $params event parameters
221 221
 	 */
222
-	public function onRemove ($params)
222
+	public function onRemove($params)
223 223
 	{
224 224
 		$this->raiseEvent('OnRemove', $this, $params);
225 225
 	}
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
 	 * Raises the OnSort event
229 229
 	 * @param object $params event parameters
230 230
 	 */
231
-	public function onSort ($params)
231
+	public function onSort($params)
232 232
 	{
233 233
 		$this->raiseEvent('OnSort', $this, $params);
234 234
 	}
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
 	 * Raises the OnStart event
238 238
 	 * @param object $params event parameters
239 239
 	 */
240
-	public function onStart ($params)
240
+	public function onStart($params)
241 241
 	{
242 242
 		$this->raiseEvent('OnStart', $this, $params);
243 243
 	}
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
 	 * Raises the OnStop event
247 247
 	 * @param object $params event parameters
248 248
 	 */
249
-	public function OnStop ($params)
249
+	public function OnStop($params)
250 250
 	{
251 251
 		$this->raiseEvent('OnStop', $this, $params);
252 252
 	}
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
 	 * Raises the OnUpdate event
256 256
 	 * @param object $params event parameters
257 257
 	 */
258
-	public function onUpdate ($params)
258
+	public function onUpdate($params)
259 259
 	{
260 260
 		$this->raiseEvent('OnUpdate', $this, $params);
261 261
 	}
Please login to merge, or discard this patch.
framework/Web/UI/JuiControls/TJuiDroppable.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 	 */
98 98
 	public function getOptions()
99 99
 	{
100
-		if (($options = $this->getViewState('JuiOptions')) === null)
100
+		if(($options = $this->getViewState('JuiOptions')) === null)
101 101
 		{
102 102
 		  $options = new TJuiControlOptions($this);
103 103
 		  $this->setViewState('JuiOptions', $options);
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 	 * Raises the OnActivate event
161 161
 	 * @param object $params event parameters
162 162
 	 */
163
-	public function onActivate ($params)
163
+	public function onActivate($params)
164 164
 	{
165 165
 		$this->raiseEvent('OnActivate', $this, $params);
166 166
 	}
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 	 * Raises the OnCreate event
170 170
 	 * @param object $params event parameters
171 171
 	 */
172
-	public function onCreate ($params)
172
+	public function onCreate($params)
173 173
 	{
174 174
 		$this->raiseEvent('OnCreate', $this, $params);
175 175
 	}
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
 	 * Raises the OnDeactivate event
179 179
 	 * @param object $params event parameters
180 180
 	 */
181
-	public function onDeactivate ($params)
181
+	public function onDeactivate($params)
182 182
 	{
183 183
 		$this->raiseEvent('OnDeactivate', $this, $params);
184 184
 	}
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
 	 * Raises the OnDrop event
188 188
 	 * @param object $params event parameters
189 189
 	 */
190
-	public function onDrop ($params)
190
+	public function onDrop($params)
191 191
 	{
192 192
 		$this->raiseEvent('OnDrop', $this, $params);
193 193
 	}
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
 	 * Raises the OnOut event
197 197
 	 * @param object $params event parameters
198 198
 	 */
199
-	public function OnOut ($params)
199
+	public function OnOut($params)
200 200
 	{
201 201
 		$this->raiseEvent('OnOut', $this, $params);
202 202
 	}
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
 	 * Raises the OnOver event
206 206
 	 * @param object $params event parameters
207 207
 	 */
208
-	public function OnOver ($params)
208
+	public function OnOver($params)
209 209
 	{
210 210
 		$this->raiseEvent('OnOver', $this, $params);
211 211
 	}
Please login to merge, or discard this patch.