Completed
Push — php-cs-fixer ( b6f93e...b9836a )
by Fabio
07:15
created
framework/Web/UI/WebControls/TWizardStepCollection.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
 			parent::insertAt($index, $item);
55 55
 			$this->_wizard->getMultiView()->getViews()->insertAt($index, $item);
56 56
 			$this->_wizard->addedWizardStep($item);
57
-		}
58
-		else
57
+		} else
59 58
 			throw new TInvalidDataTypeException('wizardstepcollection_wizardstep_required');
60 59
 	}
61 60
 
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/THyperLinkColumn.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -233,8 +233,7 @@
 block discarded – undo
233 233
 				$link->attachEventHandler('OnDataBinding', [$this,'dataBindColumn']);
234 234
 			$cell->getControls()->add($link);
235 235
 			$cell->registerObject('HyperLink', $link);
236
-		}
237
-		else
236
+		} else
238 237
 			parent::initializeCell($cell, $columnIndex, $itemType);
239 238
 	}
240 239
 
Please login to merge, or discard this patch.
framework/Web/THttpCookieCollection.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@
 block discarded – undo
59 59
 			parent::insertAt($index, $item);
60 60
 			if($this->_o instanceof THttpResponse)
61 61
 				$this->_o->addCookie($item);
62
-		}
63
-		else
62
+		} else
64 63
 			throw new TInvalidDataTypeException('httpcookiecollection_httpcookie_required');
65 64
 	}
66 65
 
Please login to merge, or discard this patch.
framework/Xml/TXmlDocument.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -195,8 +195,7 @@
 block discarded – undo
195 195
 		{
196 196
 			fwrite($fw, $this->saveToString());
197 197
 			fclose($fw);
198
-		}
199
-		else
198
+		} else
200 199
 			throw new TIOException('xmldocument_file_write_failed', $file);
201 200
 	}
202 201
 
Please login to merge, or discard this patch.
framework/I18N/core/DateTimeFormatInfo.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -177,8 +177,7 @@
 block discarded – undo
177 177
 		   {
178 178
 			   $cultureInfo = CultureInfo::getInstance($culture);
179 179
 			   return $cultureInfo->getDateTimeFormat();
180
-		   }
181
-		   else
180
+		   } else
182 181
 		   {
183 182
 			$cultureInfo = CultureInfo::getInvariantCulture();
184 183
 			return $cultureInfo->getDateTimeFormat();
Please login to merge, or discard this patch.
framework/I18N/core/MessageFormat.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -208,8 +208,7 @@
 block discarded – undo
208 208
 						return 	$this->postscript[0] .
209 209
 								strtr($string, $args) .
210 210
 								$this->postscript[1];
211
-					}
212
-					else
211
+					} else
213 212
 						return strtr($target, $args);
214 213
 				}
215 214
 			}
Please login to merge, or discard this patch.
framework/I18N/core/MessageSource_Database.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,8 +74,7 @@
 block discarded – undo
74 74
 				return $conn->getDbConnection();
75 75
 			else
76 76
 				throw new TConfigurationException('messagesource_connectionid_invalid', $connectionID);
77
-		}
78
-		else
77
+		} else
79 78
 			throw new TConfigurationException('messagesource_connectionid_required');
80 79
 	}
81 80
 
Please login to merge, or discard this patch.
framework/Data/Common/Sqlite/TSqliteCommandBuilder.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@
 block discarded – undo
41 41
 			$limitStr = ' LIMIT ' . $limit;
42 42
 			$offsetStr = $offset >= 0 ? ' OFFSET ' . $offset : '';
43 43
 			return $sql . $limitStr . $offsetStr;
44
-		}
45
-		else
44
+		} else
46 45
 			return $sql;
47 46
 	}
48 47
 }
Please login to merge, or discard this patch.
framework/Data/DataGateway/TTableGateway.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -418,8 +418,7 @@
 block discarded – undo
418 418
 		{
419 419
 			$useArgs = !is_array($parameters) && is_array($args);
420 420
 			return new TSqlCriteria($criteria, $useArgs ? $args : $parameters);
421
-		}
422
-		elseif($criteria instanceof TSqlCriteria)
421
+		} elseif($criteria instanceof TSqlCriteria)
423 422
 			return $criteria;
424 423
 		else
425 424
 			throw new TDbException('dbtablegateway_invalid_criteria');
Please login to merge, or discard this patch.