@@ -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 | } |
@@ -4,9 +4,9 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Exception; |
| 6 | 6 | use Monolog\Logger; |
| 7 | -use Psr\Log\LoggerInterface; |
|
| 8 | 7 | use Psr\Log\LoggerAwareInterface; |
| 9 | 8 | use Psr\Log\LoggerAwareTrait; |
| 9 | +use Psr\Log\LoggerInterface; |
|
| 10 | 10 | |
| 11 | 11 | class Deploy implements LoggerAwareInterface{ |
| 12 | 12 | |
@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | use Psr\Log\LoggerAwareInterface; |
| 9 | 9 | use Psr\Log\LoggerAwareTrait; |
| 10 | 10 | |
| 11 | -class Deploy implements LoggerAwareInterface{ |
|
| 11 | +class Deploy implements LoggerAwareInterface { |
|
| 12 | 12 | |
| 13 | 13 | use LoggerAwareTrait; |
| 14 | 14 | |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | $this->directory = realpath($directory).DIRECTORY_SEPARATOR; |
| 54 | 54 | |
| 55 | 55 | // LoggerInterface |
| 56 | - if(!$logger instanceof LoggerInterface) |
|
| 56 | + if (!$logger instanceof LoggerInterface) |
|
| 57 | 57 | { |
| 58 | 58 | $logger = new Logger('Deployment'); |
| 59 | 59 | } |