Passed
Branch v1.2.0 (bfb331)
by Deric
02:47
created
lib/Sessions/SFTP.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         parent::__construct($configuration, $authentication);
35 35
 
36 36
         $this->sftp = @ssh2_sftp($this->connection);
37
-        if(!$this->sftp)
37
+        if (!$this->sftp)
38 38
         {
39 39
             throw new \RuntimeException($this->get_error_message());
40 40
         }
Please login to merge, or discard this patch.
lib/Builder.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,8 +95,7 @@
 block discarded – undo
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.
lib/Kerberos.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
         $error = $ssh->get_error();
143 143
         $retval = $ssh->get_exitstatus();
144 144
 
145
-        if ($strict && $retval != 0 )
145
+        if ($strict && $retval != 0)
146 146
         {
147 147
             throw new \RuntimeException($error);
148 148
         }
Please login to merge, or discard this patch.