Test Failed
Push — master ( 836eb8...0c34e2 )
by Joe
02:25
created
bin/parse.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 				if (trim($lines[$x + 1]) != '|-') {
48 48
 					$x++;
49 49
 					if (trim(mb_substr($lines[$x], 1)) != '') {
50
-						$notes .= ($years != '' ? $years.' ' : '') . trim(mb_substr($lines[$x], 1));
50
+						$notes .= ($years != '' ? $years.' ' : '').trim(mb_substr($lines[$x], 1));
51 51
 					}
52 52
 				}
53 53
 			}
Please login to merge, or discard this patch.
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,8 +8,7 @@  discard block
 block discarded – undo
8 8
  * @return array
9 9
  * @internal param mixed $
10 10
  */
11
-function get_codes_from($what, $codes, $iso)
12
-{
11
+function get_codes_from($what, $codes, $iso) {
13 12
 	$what = explode(',', $what);
14 13
 	foreach ($what as $eachArea) {
15 14
 		if (trim($eachArea) != '' && trim($eachArea) != '- no codes -') {
@@ -38,7 +37,7 @@  discard block
 block discarded – undo
38 37
 		$area = '';
39 38
 		$street = '';
40 39
 		$notes = array_key_exists($iso, $out) ? $out[$iso]['notes'] : '';
41
-		if (trim($lines[$x + 1]) != '|-') { 
40
+		if (trim($lines[$x + 1]) != '|-') {
42 41
 			$x++;
43 42
 			$area = trim(mb_substr($lines[$x], 1));
44 43
 			if (trim($lines[$x + 1]) != '|-') {
Please login to merge, or discard this patch.