@@ -1,12 +1,12 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | - namespace Eustatos\gitlab\webhook; |
|
| 2 | + namespace Eustatos\gitlab\webhook; |
|
| 3 | 3 | |
| 4 | - /** |
|
| 5 | - * Event |
|
| 6 | - * |
|
| 7 | - * @package Eustatos\gitlab\webhook |
|
| 8 | - * @author Alexander Astashkin <[email protected]> |
|
| 9 | - */ |
|
| 4 | + /** |
|
| 5 | + * Event |
|
| 6 | + * |
|
| 7 | + * @package Eustatos\gitlab\webhook |
|
| 8 | + * @author Alexander Astashkin <[email protected]> |
|
| 9 | + */ |
|
| 10 | 10 | class Event |
| 11 | 11 | { |
| 12 | 12 | private $_command; |
@@ -48,8 +48,8 @@ discard block |
||
| 48 | 48 | echo 'Result execution: ' . $this->_command . PHP_EOL |
| 49 | 49 | . $this->_result . PHP_EOL; |
| 50 | 50 | echo '<pre>'; |
| 51 | - print_r($this->_output); |
|
| 52 | - echo '</pre>'; |
|
| 51 | + print_r($this->_output); |
|
| 52 | + echo '</pre>'; |
|
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | - require_once('vendor/autoload.php'); |
|
| 2 | + require_once('vendor/autoload.php'); |
|
| 3 | 3 | |
| 4 | - $execution = new \Eustatos\gitlab\webhook\Event( |
|
| 5 | - $_REQUEST['command'], |
|
| 6 | - 'b2b pushed' |
|
| 7 | - ); |
|
| 8 | - $execution->logResult('gitlab-webhook.log'); |
|
| 4 | + $execution = new \Eustatos\gitlab\webhook\Event( |
|
| 5 | + $_REQUEST['command'], |
|
| 6 | + 'b2b pushed' |
|
| 7 | + ); |
|
| 8 | + $execution->logResult('gitlab-webhook.log'); |
|