Completed
Push — master ( 53734b...8915cd )
by Jeroen De
02:42
created
SCQ_QueryProcessor.php 1 patch
Braces   +2 added lines, -5 removed lines patch added patch discarded remove patch
@@ -144,9 +144,7 @@  discard block
 block discarded – undo
144 144
 
145 145
 				if ( $c == '[' ) {
146 146
 					$uncompleted_square_brackets++;
147
-				}
148
-
149
-				elseif ( $c == ']' ) {
147
+				} elseif ( $c == ']' ) {
150 148
 					$uncompleted_square_brackets--;
151 149
 				}
152 150
 			}
@@ -240,8 +238,7 @@  discard block
 block discarded – undo
240 238
 			foreach ( $params as $param ) {
241 239
 				$parameters[$param->getName()] = $param->getValue();
242 240
 			}
243
-		}
244
-		else {
241
+		} else {
245 242
 			$parameters = $params;
246 243
 		}
247 244
 
Please login to merge, or discard this patch.
SemanticCompoundQueries.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,9 @@
 block discarded – undo
15 15
  * @defgroup SemanticCompoundQueries SemanticCompoundQueries
16 16
  */
17 17
 
18
-if ( !defined( 'MEDIAWIKI' ) ) die();
18
+if ( !defined( 'MEDIAWIKI' ) ) {
19
+	die();
20
+}
19 21
 
20 22
 define( 'SCQ_VERSION', '0.4.1' );
21 23
 
Please login to merge, or discard this patch.