| Total Complexity | 8 | 
| Total Lines | 44 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 6 | class TestHelper { | ||
| 7 | |||
| 8 | private $_tempPath; | ||
| 9 | private $_nonExistingPath; | ||
| 10 | |||
| 11 | use SingletonTrait; | ||
| 12 | |||
| 13 |     private function __construct() { | ||
| 14 | |||
| 15 | $projectPath = realpath($_SERVER[ 'PWD' ]) . '/'; | ||
| 16 | $this->_tempPath = $projectPath . 'temp/'; | ||
| 17 |         if( !file_exists($this->_tempPath) ) { | ||
| 18 | mkdir($this->_tempPath); | ||
| 19 | } | ||
| 20 | |||
| 21 | $this->_nonExistingPath = $this->getTempPath() . 'should-not-exist/'; | ||
| 22 | } | ||
| 23 | |||
| 24 |     public function getTempPath() : string { | ||
| 26 | } | ||
| 27 | |||
| 28 |     public function getNonExistingPath() : string { | ||
| 29 | return $this->_nonExistingPath; | ||
| 30 | } | ||
| 31 | |||
| 32 | private $_skipAccountModificationTests = false; | ||
| 33 | |||
| 34 |     public function setSkipAccountModificationTests(bool $value) : void { | ||
| 36 | } | ||
| 37 | |||
| 38 |     public function shouldSkipAccountModificationTests() : bool { | ||
| 39 | return $this->_skipAccountModificationTests; | ||
| 40 | } | ||
| 41 | |||
| 42 | private $_skipOrderModificationTests = false; | ||
| 43 | |||
| 44 |     public function setSkipOrderModificationTests(bool $value) : void { | ||
| 46 | } | ||
| 47 | |||
| 48 |     public function shouldSkipOrderModificationTests() : bool { | ||
| 49 | return $this->_skipOrderModificationTests; | ||
| 50 | } | ||
| 51 | } |