@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | private $pseudo; |
| 11 | 11 | private $depth; |
| 12 | 12 | private $index; |
| 13 | - private $file; |
|
| 13 | + private $file; |
|
| 14 | 14 | private $properties = []; |
| 15 | 15 | private $lastRun = 0; |
| 16 | 16 | |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | $this->pseudo = $pseudo; |
| 26 | 26 | $this->depth = $depth; |
| 27 | 27 | $this->index = $index; |
| 28 | - $this->file = $file; |
|
| 28 | + $this->file = $file; |
|
| 29 | 29 | $this->line = $line; |
| 30 | 30 | $this->properties = $properties; |
| 31 | 31 | } |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Transphporm; |
| 3 | 3 | class RunException extends \Exception { |
| 4 | - public function __construct($operationType, $operationName, \Exception $previous) { |
|
| 5 | - $message = 'TSS Error: Problem carrying out ' . $operationType . ' \'' . $operationName . '\''; |
|
| 4 | + public function __construct($operationType, $operationName, \Exception $previous) { |
|
| 5 | + $message = 'TSS Error: Problem carrying out ' . $operationType . ' \'' . $operationName . '\''; |
|
| 6 | 6 | |
| 7 | - parent::__construct($message, 0, $previous); |
|
| 8 | - } |
|
| 7 | + parent::__construct($message, 0, $previous); |
|
| 8 | + } |
|
| 9 | 9 | } |
@@ -1,14 +1,14 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Transphporm; |
| 3 | 3 | class Exception extends \Exception { |
| 4 | - const PROPERTY = 'property'; |
|
| 5 | - const TSS_FUNCTION = 'function'; |
|
| 6 | - const PSEUDO = 'pseudo'; |
|
| 7 | - const FORMATTER = 'formatter'; |
|
| 4 | + const PROPERTY = 'property'; |
|
| 5 | + const TSS_FUNCTION = 'function'; |
|
| 6 | + const PSEUDO = 'pseudo'; |
|
| 7 | + const FORMATTER = 'formatter'; |
|
| 8 | 8 | |
| 9 | - public function __construct(RunException $runException, $file, $line) { |
|
| 10 | - $message = $runException->getMessage() . ' on Line ' . $line . ' of ' . ($file === null ? 'tss' : $file); |
|
| 9 | + public function __construct(RunException $runException, $file, $line) { |
|
| 10 | + $message = $runException->getMessage() . ' on Line ' . $line . ' of ' . ($file === null ? 'tss' : $file); |
|
| 11 | 11 | |
| 12 | - parent::__construct($message, 0, $runException->getPrevious()); |
|
| 13 | - } |
|
| 12 | + parent::__construct($message, 0, $runException->getPrevious()); |
|
| 13 | + } |
|
| 14 | 14 | } |