Completed
Push — master ( 7fc722...51c1b8 )
by Kacper
03:43
created
Language/Perl.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
             'string.nowdoc'  => new Rule(
62 62
                 new RegexMatcher('/<<\s*\'(\w+)\';(?P<string>.*?)\R\1/sm', [
63 63
                     'string' => Token::NAME,
64
-                          0  => 'keyword.nowdoc'
64
+                            0  => 'keyword.nowdoc'
65 65
                 ]), ['context' => ['!comment']]
66 66
             ),
67 67
 
Please login to merge, or discard this patch.
Matcher/CommentMatcher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     public function __construct(array $singleLine = null, array $multiLine = null)
32 32
     {
33 33
         $this->singleLine = $singleLine ?: [];
34
-        $this->multiLine  = $multiLine  ?: [];
34
+        $this->multiLine  = $multiLine ?: [];
35 35
     }
36 36
 
37 37
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         $all = [];
50 50
 
51 51
         foreach ($this->multiLine as $name => $comment) {
52
-            $comment = array_map(function ($e) { return preg_quote($e, '/'); }, $comment);
52
+            $comment = array_map(function($e) { return preg_quote($e, '/'); }, $comment);
53 53
 
54 54
             $all[] = [$name, "/({$comment[0]}(.*?){$comment[1]})/ms"];
55 55
         }
Please login to merge, or discard this patch.