@@ -32,7 +32,7 @@ |
||
32 | 32 | 'context' => ['!symbol', '!string', '!number'] |
33 | 33 | ]); |
34 | 34 | |
35 | - $rules['variable'] = new Rule(new RegexMatcher('/(\$[\w-]+)/'), ['context' => $this->everywhere()]); |
|
35 | + $rules['variable'] = new Rule(new RegexMatcher('/(\$[\w-]+)/'), ['context' => $this->everywhere()]); |
|
36 | 36 | |
37 | 37 | return $rules; |
38 | 38 | } |
@@ -69,7 +69,7 @@ |
||
69 | 69 | new CloseRule(new SubStringMatcher(')')), |
70 | 70 | ], |
71 | 71 | |
72 | - 'keyword.at-rule' => new Rule(new RegexMatcher('/(@(?:'.implode('|', $at).'))/'), [ |
|
72 | + 'keyword.at-rule' => new Rule(new RegexMatcher('/(@(?:' . implode('|', $at) . '))/'), [ |
|
73 | 73 | 'priority' => 2 |
74 | 74 | ]), |
75 | 75 |