Passed
Push — php-cs-fixer ( 88b9f8...d7a2e5 )
by Fabio
33:43 queued 16:44
created
framework/Data/ActiveRecord/Relations/TActiveRecordHasManyAssociation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -306,7 +306,7 @@
 block discarded – undo
306 306
 		if (($total = count($fkObjects)) > 0) {
307 307
 			$source = $this->getSourceRecord();
308 308
 			$builder = $this->getAssociationTableCommandBuilder();
309
-			for ($i = 0;$i < $total;$i++) {
309
+			for ($i = 0; $i < $total; $i++) {
310 310
 				$success = $fkObjects[$i]->save() && $success;
311 311
 			}
312 312
 			return $this->updateAssociationTable($obj, $fkObjects, $builder) && $success;
Please login to merge, or discard this patch.
framework/Exceptions/TException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 		array_shift($args);
47 47
 		$n = count($args);
48 48
 		$tokens = [];
49
-		for ($i = 0;$i < $n;++$i) {
49
+		for ($i = 0; $i < $n; ++$i) {
50 50
 			$tokens['{' . $i . '}'] = TPropertyValue::ensureString($args[$i]);
51 51
 		}
52 52
 		parent::__construct(strtr($errorMessage, $tokens));
Please login to merge, or discard this patch.
framework/I18N/core/Gettext/TGettext.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
 	public static function poFile2moFile($pofile, $mofile)
128 128
 	{
129 129
 		if (!is_file($pofile)) {
130
-			throw new Exception("File $pofile doesn't exist.");
130
+			throw new Exception("file $pofile doesn't exist.");
131 131
 		}
132 132
 
133 133
 		include_once __DIR__ . '/PO.php';
Please login to merge, or discard this patch.
framework/PradoBase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -318,7 +318,7 @@
 block discarded – undo
318 318
 				break;
319 319
 				default:
320 320
 					$s = '$args[1]';
321
-					for ($i = 2;$i < $n;++$i) {
321
+					for ($i = 2; $i < $n; ++$i) {
322 322
 						$s .= ",\$args[$i]";
323 323
 					}
324 324
 					eval("\$component=new $type($s);");
Please login to merge, or discard this patch.
framework/Data/SqlMap/DataMapper/TSqlMapException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 		array_shift($args);
31 31
 		$n = count($args);
32 32
 		$tokens = [];
33
-		for ($i = 0;$i < $n;++$i) {
33
+		for ($i = 0; $i < $n; ++$i) {
34 34
 			if ($args[$i] instanceof SimpleXMLElement) {
35 35
 				$tokens['{' . $i . '}'] = $this->implodeNode($args[$i]);
36 36
 			} else {
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
239 239
 	protected function setResultCollection(&$results, &$collections, $properties)
240 240
 	{
241 241
 		if (is_array($results) || $results instanceof \ArrayAccess) {
242
-			for ($i = 0,$k = count($results);$i < $k;$i++) {
242
+			for ($i = 0, $k = count($results); $i < $k; $i++) {
243 243
 				$this->setObjectProperty($results[$i], $properties, $collections);
244 244
 			}
245 245
 		} else {
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/Scaffold/InputBuilder/TScaffoldInputCommon.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,11 +172,11 @@
 block discarded – undo
172 172
 	{
173 173
 		$value = $this->getRecordPropertyValue($column, $record);
174 174
 		$hours = [];
175
-		for ($i = 0;$i < 24;$i++) {
175
+		for ($i = 0; $i < 24; $i++) {
176 176
 			$hours[] = str_pad($i, 2, '0', STR_PAD_LEFT);
177 177
 		}
178 178
 		$mins = [];
179
-		for ($i = 0;$i < 60;$i++) {
179
+		for ($i = 0; $i < 60; $i++) {
180 180
 			$mins[] = str_pad($i, 2, '0', STR_PAD_LEFT);
181 181
 		}
182 182
 		$hour = (int) (@date('H'));
Please login to merge, or discard this patch.
framework/Data/Common/Oracle/TOracleMetaData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
 		$info['ColumnName'] = $columnId; //NOT quote the column names!
182 182
 		$info['ColumnId'] = $columnId;
183 183
 		$info['ColumnIndex'] = $col['index'];
184
-		if (! (bool) $col['attnotnull']) {
184
+		if (!(bool) $col['attnotnull']) {
185 185
 			$info['AllowNull'] = true;
186 186
 		}
187 187
 		if (in_array($columnId, $tableInfo->getPrimaryKeys())) {
Please login to merge, or discard this patch.
framework/Data/Common/Oracle/TOracleCommandBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
 
148 148
 		************************* */
149 149
 		$offset = (int) $offset;
150
-		$toReg = $offset + $limit ;
150
+		$toReg = $offset + $limit;
151 151
 		$fullTableName = $this->getTableInfo()->getTableFullName();
152 152
 		if (empty($sORDERBY)) {
153 153
 			$sORDERBY = "ROWNUM";
Please login to merge, or discard this patch.