| @@ -302,7 +302,7 @@ | ||
| 302 | 302 | // do we skip destroying the test environment? | 
| 303 | 303 |          if ($this->st->getPersistTestEnvironment()) { | 
| 304 | 304 | echo PHP_EOL . "* Warning: NOT destroying test environment" . PHP_EOL | 
| 305 | - . " --reuse-target flag is set" . PHP_EOL; | |
| 305 | + . " --reuse-target flag is set" . PHP_EOL; | |
| 306 | 306 | } | 
| 307 | 307 | |
| 308 | 308 | // cleanup | 
| @@ -61,7 +61,7 @@ | ||
| 61 | 61 | public function __construct() | 
| 62 | 62 |      { | 
| 63 | 63 | $msg = "You need to use -s to specify which system to test." . PHP_EOL . PHP_EOL | 
| 64 | - . "Use 'storyplayer --list-systems' to see the list of known systems under test."; | |
| 64 | + . "Use 'storyplayer --list-systems' to see the list of known systems under test."; | |
| 65 | 65 | parent::__construct(400, $msg, $msg); | 
| 66 | 66 | } | 
| 67 | 67 | } | 
| 68 | 68 | \ No newline at end of file | 
| @@ -78,20 +78,20 @@ | ||
| 78 | 78 | |
| 79 | 79 | public function initBeforeModulesAvailable(CliEngine $engine, CliCommand $command, Injectables $injectables) | 
| 80 | 80 |      { | 
| 81 | - // which colour mode are we in? | |
| 82 | -    	switch ($engine->options->color) { | |
| 83 | - case Feature_ColorSwitch::NO_COLOR: | |
| 84 | - $injectables->output->disableColourSupport(); | |
| 85 | - break; | |
| 81 | + // which colour mode are we in? | |
| 82 | +        switch ($engine->options->color) { | |
| 83 | + case Feature_ColorSwitch::NO_COLOR: | |
| 84 | + $injectables->output->disableColourSupport(); | |
| 85 | + break; | |
| 86 | 86 | |
| 87 | - case Feature_ColorSwitch::ALWAYS_COLOR: | |
| 88 | - $injectables->output->enforceColourSupport(); | |
| 89 | - break; | |
| 87 | + case Feature_ColorSwitch::ALWAYS_COLOR: | |
| 88 | + $injectables->output->enforceColourSupport(); | |
| 89 | + break; | |
| 90 | 90 | |
| 91 | - case Feature_ColorSwitch::AUTO_COLOR: | |
| 92 | - $injectables->output->enableColourSupport(); | |
| 93 | - break; | |
| 94 | - } | |
| 91 | + case Feature_ColorSwitch::AUTO_COLOR: | |
| 92 | + $injectables->output->enableColourSupport(); | |
| 93 | + break; | |
| 94 | + } | |
| 95 | 95 | } | 
| 96 | 96 | |
| 97 | 97 | public function initAfterModulesAvailable(StoryTeller $st, CliEngine $engine, Injectables $injectables) | 
| @@ -70,14 +70,14 @@ | ||
| 70 | 70 |  { | 
| 71 | 71 | public function addSwitches(CliCommand $command, $injectables) | 
| 72 | 72 |      { | 
| 73 | - $command->addSwitches([ | |
| 74 | - new Feature_PersistDeviceSwitch, | |
| 75 | - ]); | |
| 73 | + $command->addSwitches([ | |
| 74 | + new Feature_PersistDeviceSwitch, | |
| 75 | + ]); | |
| 76 | 76 | } | 
| 77 | 77 | |
| 78 | 78 | public function initBeforeModulesAvailable(CliEngine $engine, CliCommand $command, Injectables $injectables) | 
| 79 | 79 |      { | 
| 80 | - // no-op | |
| 80 | + // no-op | |
| 81 | 81 | } | 
| 82 | 82 | |
| 83 | 83 | public function initAfterModulesAvailable(StoryTeller $st, CliEngine $engine, Injectables $injectables) | 
| @@ -70,14 +70,14 @@ | ||
| 70 | 70 |  { | 
| 71 | 71 | public function addSwitches(CliCommand $command, $injectables) | 
| 72 | 72 |      { | 
| 73 | - $command->addSwitches([ | |
| 74 | - new Feature_PersistProcessesSwitch, | |
| 75 | - ]); | |
| 73 | + $command->addSwitches([ | |
| 74 | + new Feature_PersistProcessesSwitch, | |
| 75 | + ]); | |
| 76 | 76 | } | 
| 77 | 77 | |
| 78 | 78 | public function initBeforeModulesAvailable(CliEngine $engine, CliCommand $command, Injectables $injectables) | 
| 79 | 79 |      { | 
| 80 | - // no-op | |
| 80 | + // no-op | |
| 81 | 81 | } | 
| 82 | 82 | |
| 83 | 83 | public function initAfterModulesAvailable(StoryTeller $st, CliEngine $engine, Injectables $injectables) | 
| @@ -70,21 +70,21 @@ | ||
| 70 | 70 |  { | 
| 71 | 71 | public function addSwitches(CliCommand $command, $injectables) | 
| 72 | 72 |      { | 
| 73 | - $command->addSwitches([ | |
| 74 | - new Feature_PersistTargetSwitch, | |
| 75 | - new Feature_ReuseTargetSwitch | |
| 76 | - ]); | |
| 73 | + $command->addSwitches([ | |
| 74 | + new Feature_PersistTargetSwitch, | |
| 75 | + new Feature_ReuseTargetSwitch | |
| 76 | + ]); | |
| 77 | 77 | } | 
| 78 | 78 | |
| 79 | 79 | public function initBeforeModulesAvailable(CliEngine $engine, CliCommand $command, Injectables $injectables) | 
| 80 | 80 |      { | 
| 81 | - // no-op | |
| 81 | + // no-op | |
| 82 | 82 | } | 
| 83 | 83 | |
| 84 | 84 | public function initAfterModulesAvailable(StoryTeller $st, CliEngine $engine, Injectables $injectables) | 
| 85 | 85 |      { | 
| 86 | - // shorthand | |
| 87 | - $output = $injectables->output; | |
| 86 | + // shorthand | |
| 87 | + $output = $injectables->output; | |
| 88 | 88 | |
| 89 | 89 | // are we keeping the test environment hanging around afterwards? | 
| 90 | 90 | if (isset($engine->options->persistTarget) && $engine->options->persistTarget) | 
| @@ -70,12 +70,12 @@ | ||
| 70 | 70 |  { | 
| 71 | 71 | public function addSwitches(CliCommand $command, $injectables) | 
| 72 | 72 |      { | 
| 73 | - // no-op | |
| 73 | + // no-op | |
| 74 | 74 | } | 
| 75 | 75 | |
| 76 | 76 | public function initBeforeModulesAvailable(CliEngine $engine, CliCommand $command, Injectables $injectables) | 
| 77 | 77 |      { | 
| 78 | - $injectables->initPhaseLoaderSupport($injectables); | |
| 78 | + $injectables->initPhaseLoaderSupport($injectables); | |
| 79 | 79 | } | 
| 80 | 80 | |
| 81 | 81 | public function initAfterModulesAvailable(StoryTeller $st, CliEngine $engine, Injectables $injectables) | 
| @@ -70,12 +70,12 @@ | ||
| 70 | 70 |  { | 
| 71 | 71 | public function addSwitches(CliCommand $command, $injectables) | 
| 72 | 72 |      { | 
| 73 | - // no-op | |
| 73 | + // no-op | |
| 74 | 74 | } | 
| 75 | 75 | |
| 76 | 76 | public function initBeforeModulesAvailable(CliEngine $engine, CliCommand $command, Injectables $injectables) | 
| 77 | 77 |      { | 
| 78 | - $injectables->initProseLoaderSupport($injectables); | |
| 78 | + $injectables->initProseLoaderSupport($injectables); | |
| 79 | 79 | } | 
| 80 | 80 | |
| 81 | 81 | public function initAfterModulesAvailable(StoryTeller $st, CliEngine $engine, Injectables $injectables) | 
| @@ -72,8 +72,8 @@ discard block | ||
| 72 | 72 |      { | 
| 73 | 73 | $command->addSwitches([ | 
| 74 | 74 | new Feature_SystemUnderTestConfigSwitch( | 
| 75 | - $injectables->knownSystemsUnderTestList, | |
| 76 | - $injectables->defaultSystemUnderTestName | |
| 75 | + $injectables->knownSystemsUnderTestList, | |
| 76 | + $injectables->defaultSystemUnderTestName | |
| 77 | 77 | ) | 
| 78 | 78 | ]); | 
| 79 | 79 | } | 
| @@ -84,7 +84,7 @@ discard block | ||
| 84 | 84 | throw new E4xx_NoSystemUnderTestSpecified(); | 
| 85 | 85 | } | 
| 86 | 86 | |
| 87 | - $injectables->initActiveSystemUnderTestConfigSupport( | |
| 87 | + $injectables->initActiveSystemUnderTestConfigSupport( | |
| 88 | 88 | $engine->options->sutName, | 
| 89 | 89 | $injectables | 
| 90 | 90 | ); |