Completed
Branch master (9bcd56)
by Deric
02:07
created
src/Sessions/SFTP.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@
 block discarded – undo
256 256
 	{
257 257
 		$directories = !is_array($directories) ? [$directories] : $directories;
258 258
 		foreach ($directories as $directory)
259
-        {
259
+		{
260 260
 			if ($this->is_dir($directory))
261 261
 			{
262 262
 				start:
Please login to merge, or discard this patch.
src/Sessions/SSH.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
     final private function exec_realtime($stream)
219 219
     {
220 220
 		while ($buffer = fgets($stream))
221
-        {
221
+		{
222 222
             if (!preg_match('/RETURN_CODE:\[([0-9]+)\]/', $buffer, $retval))
223 223
             {
224 224
 				print $buffer;
Please login to merge, or discard this patch.
src/Builder.php 1 patch
Braces   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     {
68 68
         $this->options = [];
69 69
         foreach ($opts as $key => $value)
70
-		{
70
+        {
71 71
 			if (preg_match('/^-.*$/', $key, $matches))
72 72
 			{
73 73
 				$this->options[] = is_bool($value) ? $key : str_pad($key, strlen($key) + 1, ' ', STR_PAD_RIGHT) . $value;
@@ -91,12 +91,11 @@  discard block
 block discarded – undo
91 91
     {
92 92
 		$this->arguments = [];
93 93
         foreach ($args as $key => $value)
94
-		{
94
+        {
95 95
 			if (preg_match('/^-.*$/', $key, $matches))
96 96
 			{
97 97
 				$this->arguments[] = is_bool($value) ? $key : str_pad($key, strlen($key) + 1, ' ', STR_PAD_RIGHT) . $value;
98
-			}
99
-			else
98
+			} else
100 99
 			{
101 100
 				$this->arguments[] = is_array($value) ? implode(' ', $value) : $value;
102 101
 			}
Please login to merge, or discard this patch.