Test Setup Failed
Push — master ( 1989fc...da57ce )
by kouinkouin
01:42
created
StreetParser.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -38,22 +38,22 @@
 block discarded – undo
38 38
                 'box'    => -1,
39 39
             ],
40 40
             [ // Belgian format. "," mandatory to separate the street and the number+box
41
-              'regex'  => '/^(.*\w)\ *\,\ *(\d+\w*)[\/\ ]*(\d*\w*)$/',
42
-              'street' => 1,
43
-              'number' => 2,
44
-              'box'    => 3,
41
+                'regex'  => '/^(.*\w)\ *\,\ *(\d+\w*)[\/\ ]*(\d*\w*)$/',
42
+                'street' => 1,
43
+                'number' => 2,
44
+                'box'    => 3,
45 45
             ],
46 46
             [ // Belgian format. Without "," to separate the street and the number. Don't detect the box
47
-              'regex'  => '/^(.*[a-zA-Z])\ *(\d+\w*)([\/\ ]*)(\d*\w*)$/',
48
-              'street' => 1,
49
-              'number' => 2,
50
-              'box'    => -1,
47
+                'regex'  => '/^(.*[a-zA-Z])\ *(\d+\w*)([\/\ ]*)(\d*\w*)$/',
48
+                'street' => 1,
49
+                'number' => 2,
50
+                'box'    => -1,
51 51
             ],
52 52
             [ // Belgian format. Without "," to separate the street and the number. Don't detect the box
53
-              'regex'  => '/^(.*[a-zA-Z])\ *(\d+\w*)[\/\ ]+(\d+\w*)$/',
54
-              'street' => 1,
55
-              'number' => 2,
56
-              'box'    => 3,
53
+                'regex'  => '/^(.*[a-zA-Z])\ *(\d+\w*)[\/\ ]+(\d+\w*)$/',
54
+                'street' => 1,
55
+                'number' => 2,
56
+                'box'    => 3,
57 57
             ],
58 58
         ];
59 59
     }
Please login to merge, or discard this patch.