Completed
Push — master ( 2590ba...edce93 )
by Tyler
03:49 queued 01:16
created
src/Deploy.php 3 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,6 @@
 block discarded – undo
53 53
      * Sets up defaults.
54 54
      * 
55 55
      * @param  string  $directory  Directory where your website is located
56
-     * @param  array   $data       Information about the deployment
57 56
      */
58 57
     public function __construct($directory, $options = array())
59 58
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
             // Set the name of the log file
87 87
             $filename = $this->_log;
88 88
 
89
-            if ( ! file_exists($filename))
89
+            if (!file_exists($filename))
90 90
             {
91 91
                 // Create the log file
92 92
                 file_put_contents($filename, '');
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -130,8 +130,7 @@
 block discarded – undo
130 130
             }
131 131
 
132 132
             $this->log('Deployment successful.');
133
-        }
134
-        catch (Exception $e)
133
+        } catch (Exception $e)
135 134
         {
136 135
             $this->log($e, 'ERROR');
137 136
         }
Please login to merge, or discard this patch.