Passed
Branch release/v2.0.0 (caca50)
by Anatoly
04:36
created
functions/path_build.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 {
39 39
     $regex = '/{([0-9A-Za-z_]+)(?:<([^<#>]+)>)?}/';
40 40
 
41
-    return preg_replace_callback($regex, function ($match) use ($path, $attributes, $strict) {
41
+    return preg_replace_callback($regex, function($match) use ($path, $attributes, $strict) {
42 42
         if (!isset($attributes[$match[1]])) {
43 43
             throw new InvalidArgumentException(
44 44
                 sprintf('[%s] missing attribute "%s".', $path, $match[1])
Please login to merge, or discard this patch.
tests/RouteTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -232,8 +232,8 @@
 block discarded – undo
232 232
     }
233 233
 
234 234
     /**
235
-      * @return void
236
-      */
235
+     * @return void
236
+     */
237 237
     public function testBuildRegex() : void
238 238
     {
239 239
         $route = new Fixture\TestRoute();
Please login to merge, or discard this patch.