Completed
Push — master ( ed50b2...c7ae95 )
by Richard
02:27
created
src/Parser/Sheet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 		if (is_file($tss)) {
25 25
 			$this->file = $tss;
26 26
 			$this->rules = $this->cache->load($tss);
27
-			$this->filePath->setBaseDir(dirname(realpath($tss)) . DIRECTORY_SEPARATOR);
27
+			$this->filePath->setBaseDir(dirname(realpath($tss)).DIRECTORY_SEPARATOR);
28 28
 			if (empty($this->rules)) $tss = file_get_contents($tss);
29 29
 			else return;
30 30
 		}
Please login to merge, or discard this patch.
src/Parser/Tokenizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
 			$string = $this->extractString($i);
146 146
 			$length = strlen($string)+1;
147 147
 			$char = $this->getChar($char);
148
-			$string = str_replace('\\' . $char, $char, $string);
148
+			$string = str_replace('\\'.$char, $char, $string);
149 149
 			$tokens[] = ['type' => self::STRING, 'value' => $string, 'line' => $this->lineNo];
150 150
 			return $length;
151 151
 		}
Please login to merge, or discard this patch.