Completed
Push — master ( 8ce5ad...a0dab9 )
by Joas
12:03 queued 11:17
created
lib/private/DB/OracleMigrator.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 				$column->changedProperties = array_diff($column->changedProperties, ['autoincrement', 'unsigned']);
155 155
 			}
156 156
 			// remove columns that no longer have changed (because autoincrement and unsigned are not supported)
157
-			$tableDiff->changedColumns = array_filter($tableDiff->changedColumns, function (ColumnDiff $column) {
157
+			$tableDiff->changedColumns = array_filter($tableDiff->changedColumns, function(ColumnDiff $column) {
158 158
 				return count($column->changedProperties) > 0;
159 159
 			});
160 160
 
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
 	 * @return string
204 204
 	 */
205 205
 	protected function generateTemporaryTableName($name) {
206
-		return 'oc_' . uniqid();
206
+		return 'oc_'.uniqid();
207 207
 	}
208 208
 
209 209
 	/**
@@ -212,16 +212,16 @@  discard block
 block discarded – undo
212 212
 	 */
213 213
 	protected function convertStatementToScript($statement) {
214 214
 		if (substr($statement, -1) === ';') {
215
-			return $statement . PHP_EOL . '/' . PHP_EOL;
215
+			return $statement.PHP_EOL.'/'.PHP_EOL;
216 216
 		}
217
-		$script = $statement . ';';
217
+		$script = $statement.';';
218 218
 		$script .= PHP_EOL;
219 219
 		$script .= PHP_EOL;
220 220
 		return $script;
221 221
 	}
222 222
 
223 223
 	protected function getFilterExpression() {
224
-		return '/^"' . preg_quote($this->config->getSystemValue('dbtableprefix', 'oc_')) . '/';
224
+		return '/^"'.preg_quote($this->config->getSystemValue('dbtableprefix', 'oc_')).'/';
225 225
 	}
226 226
 
227 227
 }
Please login to merge, or discard this patch.