Test Setup Failed
Push — master ( 07dadd...671a15 )
by Sebastian
04:33 queued 01:15
created
src/Localization/Generator.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -258,8 +258,7 @@
 block discarded – undo
258 258
         if(empty($tokens))
259 259
         {
260 260
             $content = '/* No strings found. */';
261
-        }
262
-        else
261
+        } else
263 262
         {
264 263
             $content =
265 264
             '/**'.PHP_EOL.
Please login to merge, or discard this patch.
src/Localization/Parser/Token/Javascript.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@
 block discarded – undo
17 17
             if(isset($this->parentToken)) {
18 18
                 $this->line = $this->parentToken->getLine();
19 19
             }
20
-        }
21
-        else
20
+        } else
22 21
         {
23 22
             $this->token = \JTokenizer\JTokenizer::getTokenName($this->definition[0]);
24 23
             $this->value = $this->definition[1];
Please login to merge, or discard this patch.
src/Localization/Parser/Token/PHP.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@
 block discarded – undo
17 17
             if(isset($this->parentToken)) {
18 18
                 $this->line = $this->parentToken->getLine();
19 19
             }
20
-        }
21
-        else
20
+        } else
22 21
         {
23 22
             $this->token = token_name($this->definition[0]);
24 23
             $this->value = $this->definition[1];
Please login to merge, or discard this patch.
src/Localization/Editor.php 1 patch
Braces   +6 added lines, -12 removed lines patch added patch discarded remove patch
@@ -192,8 +192,7 @@  discard block
 block discarded – undo
192 192
         if($this->request->getBool($this->getVarName('scan'))) 
193 193
         {
194 194
             $this->executeScan();
195
-        } 
196
-        else if($this->request->getBool($this->getVarName('save'))) 
195
+        } else if($this->request->getBool($this->getVarName('save'))) 
197 196
         {
198 197
             $this->executeSave();
199 198
         }
@@ -251,8 +250,7 @@  discard block
 block discarded – undo
251 250
                                             				    ?>
252 251
                                             				    	<b><?php echo $source->getLabel() ?></b>
253 252
                                         				    	<?php 
254
-                                            				}
255
-                                            				else
253
+                                            				} else
256 254
                                             				{
257 255
                                             				    echo $source->getLabel();
258 256
                                             				}
@@ -338,12 +336,10 @@  discard block
 block discarded – undo
338 336
     			        		<?php pt('No application locales were added to translate to.') ?>
339 337
     			        	</div>
340 338
     			        <?php 
341
-    			    }
342
-    			    else if($this->request->getBool($this->getVarName('warnings')))
339
+    			    } else if($this->request->getBool($this->getVarName('warnings')))
343 340
     			    {
344 341
     			        echo $this->renderWarnings();
345
-    			    }
346
-    			    else
342
+    			    } else
347 343
     			    {
348 344
     			        ?>
349 345
             				<h1><?php echo $this->activeSource->getLabel() ?></h1>
@@ -393,8 +389,7 @@  discard block
 block discarded – undo
393 389
                                             </a>
394 390
                                         </p>
395 391
                 				    <?php 
396
-                				}
397
-                				else
392
+                				} else
398 393
                 				{
399 394
                 				    echo $this->filters->renderForm();
400 395
                 				    echo $this->renderList();
@@ -620,8 +615,7 @@  discard block
 block discarded – undo
620 615
             				    if($totalFiles == 1)
621 616
             				    {
622 617
             				        pt('Found in a single file:');
623
-            				    }
624
-            				    else
618
+            				    } else
625 619
             				    {
626 620
             				        pt('Found in %1$s files:', $totalFiles);
627 621
             				    }
Please login to merge, or discard this patch.
src/Localization/Editor/Filters.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@  discard block
 block discarded – undo
50 50
             foreach($defaults as $name => $val) {
51 51
                 $this->setValue($name, $val);
52 52
             }
53
-        }
54
-        else if($this->request->getBool($this->vars['filter'])) 
53
+        } else if($this->request->getBool($this->vars['filter'])) 
55 54
         {
56 55
             $this->parseSearchTerms($this->request->getParam($this->vars['search']));
57 56
             
@@ -72,8 +71,7 @@  discard block
 block discarded – undo
72 71
                 ->setEnum('', 'client', 'server')
73 72
                 ->get('')
74 73
             );
75
-        }
76
-        else
74
+        } else
77 75
         {
78 76
             $this->parseSearchTerms($this->getValue($this->vars['search']));
79 77
         }
Please login to merge, or discard this patch.
src/Localization/Currency.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -197,8 +197,7 @@
 block discarded – undo
197 197
             if ($decimals == '-') {
198 198
                 $decimals = 0;
199 199
             }
200
-        } 
201
-        else 
200
+        } else 
202 201
         {
203 202
             $decimals = null;
204 203
             $thousands = floatval(implode('', $parts));
Please login to merge, or discard this patch.
src/Localization/Writer.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,8 +121,7 @@
 block discarded – undo
121 121
             $lines[] = '; ';
122 122
             $lines[] = '; 1) Do not to modify the keys (left hand side of the = sign)';
123 123
             $lines[] = '; 2) Save the file as UTF-8 without BOM';
124
-        } 
125
-        else 
124
+        } else 
126 125
         {
127 126
             $lines[] = '; Do NOT edit this file directly! It depends on the main translation file';
128 127
             $lines[] = '; and any changes will be lost. Edit the main file instead.';
Please login to merge, or discard this patch.