Completed
Push — master ( 990277...5d19ef )
by Richard
02:52
created
src/Parser/Sheet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 		if (is_file($tss)) {
23 23
 			$this->file = $tss;
24 24
 			$this->rules = $this->cache->load($tss);
25
-			$filePath->setBaseDir(dirname(realpath($tss)) . DIRECTORY_SEPARATOR);
25
+			$filePath->setBaseDir(dirname(realpath($tss)).DIRECTORY_SEPARATOR);
26 26
 			if (empty($this->rules)) $tss = file_get_contents($tss);
27 27
 			else return;
28 28
 		}
Please login to merge, or discard this patch.
src/Hook/PropertyHook.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 		$this->valueParser = $valueParser;
26 26
 		$this->pseudoMatcher = $pseudoMatcher;
27 27
 		$this->functionSet = $functionSet;
28
-		if ($this->file !== null) $filePath->setBaseDir(dirname(realpath($this->file)) . DIRECTORY_SEPARATOR);
28
+		if ($this->file !== null) $filePath->setBaseDir(dirname(realpath($this->file)).DIRECTORY_SEPARATOR);
29 29
 	}
30 30
 
31 31
 	public function run(\DomElement $element) {
Please login to merge, or discard this patch.
src/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 
52 52
 		$cachedOutput = $this->loadTemplate();
53 53
 		//To be a valid XML document it must have a root element, automatically wrap it in <template> to ensure it does
54
-		$template = new Template($this->isValidDoc($cachedOutput['body']) ? str_ireplace('<!doctype', '<!DOCTYPE', $cachedOutput['body']) : '<template>' . $cachedOutput['body'] . '</template>' );
54
+		$template = new Template($this->isValidDoc($cachedOutput['body']) ? str_ireplace('<!doctype', '<!DOCTYPE', $cachedOutput['body']) : '<template>'.$cachedOutput['body'].'</template>');
55 55
 		$valueParser = new Parser\Value($functionSet);
56 56
 		$config = new Config($functionSet, $valueParser, $elementData, new Hook\Formatter(), new Parser\CssToXpath($functionSet, $template->getPrefix()), new FilePath($this->rootDir), $headers);
57 57
 
Please login to merge, or discard this patch.