Test Setup Failed
Push — master ( da57ce...f2ff86 )
by kouinkouin
01:44
created
src/StreetParser.php 2 patches
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.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,19 +20,19 @@
 block discarded – undo
20 20
                 'number' => -1,
21 21
                 'box'    => -1,
22 22
             ],
23
-            [ // Belgian format. "," mandatory to separate the street and the number+box
23
+            [// Belgian format. "," mandatory to separate the street and the number+box
24 24
               'regex'  => '/^(.*\w)\ *\,\ *(\d+\w*)[\/\ ]*(\d*\w*)$/',
25 25
               'street' => 1,
26 26
               'number' => 2,
27 27
               'box'    => 3,
28 28
             ],
29
-            [ // Belgian format. Without "," to separate the street and the number. Don't detect the box
29
+            [// Belgian format. Without "," to separate the street and the number. Don't detect the box
30 30
               'regex'  => '/^(.*[a-zA-Z])\ *(\d+\w*)([\/\ ]*)(\d*\w*)$/',
31 31
               'street' => 1,
32 32
               'number' => 2,
33 33
               'box'    => -1,
34 34
             ],
35
-            [ // Belgian format. Without "," to separate the street and the number. Don't detect the box
35
+            [// Belgian format. Without "," to separate the street and the number. Don't detect the box
36 36
               'regex'  => '/^(.*[a-zA-Z])\ *(\d+\w*)[\/\ ]+(\d+\w*)$/',
37 37
               'street' => 1,
38 38
               'number' => 2,
Please login to merge, or discard this patch.