Completed
Push — master ( f572b2...f86bb2 )
by Josh
02:17
created
src/Escaper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
 	* @var array Characters to escape outside of a character class
19 19
 	*/
20 20
 	public $inLiteral = [
21
-		'$'  => '\\$',  '(' => '\\(', ')' => '\\)', '*' => '\\*',
22
-		'+'  => '\\+',  '.' => '\\.', '?' => '\\?', '[' => '\\]',
21
+		'$'  => '\\$', '(' => '\\(', ')' => '\\)', '*' => '\\*',
22
+		'+'  => '\\+', '.' => '\\.', '?' => '\\?', '[' => '\\]',
23 23
 		'\\' => '\\\\', '^' => '\\^', '{' => '\\{', '|' => '\\|'
24 24
 	];
25 25
 
Please login to merge, or discard this patch.
src/Passes/MergePrefix.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 		$newStrings = [];
18 18
 		foreach ($this->getStringsByPrefix($strings) as $prefix => $strings)
19 19
 		{
20
-			$newStrings[] =  (isset($strings[1])) ? $this->mergeStrings($strings) : $strings[0];
20
+			$newStrings[] = (isset($strings[1])) ? $this->mergeStrings($strings) : $strings[0];
21 21
 		}
22 22
 
23 23
 		return $newStrings;
Please login to merge, or discard this patch.