@@ -53,7 +53,6 @@ |
||
| 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 | { |
@@ -86,7 +86,7 @@ |
||
| 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, ''); |
@@ -130,8 +130,7 @@ |
||
| 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 | } |