Completed
Push — master ( a9e060...f0d6df )
by Tom
01:42
created
src/RunException.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -6,9 +6,9 @@
 block discarded – undo
6 6
  * @version         1.2                                                             */
7 7
 namespace Transphporm;
8 8
 class RunException extends \Exception {
9
-    public function __construct($operationType, $operationName, \Exception $previous = null) {
10
-        $message = 'TSS Error: Problem carrying out ' . $operationType . ' "' . $operationName . '"';
9
+	public function __construct($operationType, $operationName, \Exception $previous = null) {
10
+		$message = 'TSS Error: Problem carrying out ' . $operationType . ' "' . $operationName . '"';
11 11
 
12
-        parent::__construct($message, 0, $previous);
13
-    }
12
+		parent::__construct($message, 0, $previous);
13
+	}
14 14
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 namespace Transphporm;
8 8
 class RunException extends \Exception {
9 9
     public function __construct($operationType, $operationName, \Exception $previous = null) {
10
-        $message = 'TSS Error: Problem carrying out ' . $operationType . ' "' . $operationName . '"';
10
+        $message = 'TSS Error: Problem carrying out '.$operationType.' "'.$operationName.'"';
11 11
 
12 12
         parent::__construct($message, 0, $previous);
13 13
     }
Please login to merge, or discard this patch.
src/Exception.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -6,14 +6,14 @@
 block discarded – undo
6 6
  * @version         1.2                                                             */
7 7
 namespace Transphporm;
8 8
 class Exception extends \Exception {
9
-    const PROPERTY = 'property';
10
-    const TSS_FUNCTION = 'function';
11
-    const PSEUDO = 'pseudo';
12
-    const FORMATTER = 'formatter';
9
+	const PROPERTY = 'property';
10
+	const TSS_FUNCTION = 'function';
11
+	const PSEUDO = 'pseudo';
12
+	const FORMATTER = 'formatter';
13 13
 
14
-    public function __construct(RunException $runException, $file, $line) {
15
-        $message = $runException->getMessage() . ' on Line ' . $line . ' of ' . ($file === null ? 'tss' : $file);
14
+	public function __construct(RunException $runException, $file, $line) {
15
+		$message = $runException->getMessage() . ' on Line ' . $line . ' of ' . ($file === null ? 'tss' : $file);
16 16
 
17
-        parent::__construct($message, 0, $runException->getPrevious());
18
-    }
17
+		parent::__construct($message, 0, $runException->getPrevious());
18
+	}
19 19
 }
Please login to merge, or discard this patch.
src/FunctionSet.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@
 block discarded – undo
28 28
 			$tokens = $args[0];
29 29
 			$parser = new \Transphporm\Parser\Value($this);
30 30
 			return $parser->parseTokens($tokens, $this->elementData->getData($this->element));
31
-		}
32
-		else if ($args[0] instanceof Parser\Tokens) {
31
+		} else if ($args[0] instanceof Parser\Tokens) {
33 32
 			return iterator_to_array($args[0]);
34 33
 		}
35 34
 
Please login to merge, or discard this patch.