Completed
Push — master ( 1c2473...022040 )
by Tom
02:55 queued 01:10
created
src/TSSFunction/Constant.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 	public function run(array $args, \DomElement $element) {
11 11
 		$const_name = strtoupper(trim($args[0]));
12 12
 		if (!defined($const_name)) {
13
-			throw new \Exception($const_name . ' is not a defined constant');
13
+			throw new \Exception($const_name.' is not a defined constant');
14 14
 		}
15 15
 		return constant($const_name);
16 16
 	}
Please login to merge, or discard this patch.
src/Module/Functions.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 		$templateFunction = new \Transphporm\TSSFunction\Template($config->getElementData(), $config->getCssToXpath(), $baseDir);
22 22
 		$functionSet->addFunction('template', $templateFunction);
23 23
 		$functionSet->addFunction('json', new \Transphporm\TSSFunction\Json($baseDir));
24
-        $functionSet->addFunction('constant', new \Transphporm\TSSFunction\Constant());
24
+		$functionSet->addFunction('constant', new \Transphporm\TSSFunction\Constant());
25 25
 
26 26
 		// Register HTML formatter here because it uses the template function
27 27
 		$config->registerFormatter(new \Transphporm\Formatter\HTMLFormatter($templateFunction));
Please login to merge, or discard this patch.