Passed
Push — master ( 50eec0...4be7e4 )
by butschster
13:00 queued 05:54
created
src/Views/src/Processor/ContextProcessor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,9 +30,9 @@
 block discarded – undo
30 30
             \preg_replace_callback(
31 31
                 $this->pattern,
32 32
                 static function (array $matches) use ($context) {
33
-                    try {
33
+                    try{
34 34
                         return $context->resolveValue($matches['name']) ?? $matches['default'] ?? null;
35
-                    } catch (ContextException $e) {
35
+                    }catch (ContextException $e){
36 36
                         return $matches['default'] ?? throw $e;
37 37
                     }
38 38
                 },
Please login to merge, or discard this patch.
src/Views/tests/ContextProcessorTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,8 +69,8 @@
 block discarded – undo
69 69
     protected function getSource(string $path): ViewSource
70 70
     {
71 71
         $loader = new ViewLoader([
72
-            'default' => __DIR__ . '/fixtures/default',
73
-            'other' => __DIR__ . '/fixtures/other',
72
+            'default' => __DIR__.'/fixtures/default',
73
+            'other' => __DIR__.'/fixtures/other',
74 74
         ]);
75 75
 
76 76
         return $loader->withExtension('php')->load($path);
Please login to merge, or discard this patch.