@@ -2,7 +2,6 @@ |
||
| 2 | 2 | namespace Codeception\Extension; |
| 3 | 3 | |
| 4 | 4 | use Codeception\Exception\ModuleException; |
| 5 | -use Codeception\Exception\ModuleConfigException; |
|
| 6 | 5 | use Codeception\Module; |
| 7 | 6 | use \SplFileObject; |
| 8 | 7 | use \RuntimeException; |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | |
| 33 | 33 | private $output; |
| 34 | 34 | |
| 35 | - public function openConnection( $host, |
|
| 35 | + public function openConnection($host, |
|
| 36 | 36 | $port = SecureShell::DEFAULT_PORT, |
| 37 | 37 | $auth = SecureShell::AUTH_PASSWORD, |
| 38 | 38 | ...$args) |
@@ -194,7 +194,7 @@ discard block |
||
| 194 | 194 | $sftp = ssh2_sftp($connection); |
| 195 | 195 | try { |
| 196 | 196 | $res = ssh2_sftp_stat($sftp, $filename); |
| 197 | - } catch(Exception $e) { |
|
| 197 | + } catch (Exception $e) { |
|
| 198 | 198 | $res = false; |
| 199 | 199 | } |
| 200 | 200 | \PHPUnit_Framework_Assert::assertFalse($res); |