@@ -22,7 +22,7 @@ |
||
22 | 22 | */ |
23 | 23 | public function getOutput() |
24 | 24 | { |
25 | - return $this->output ? implode('\n', $this->output): ''; |
|
25 | + return $this->output ? implode('\n', $this->output) : ''; |
|
26 | 26 | } |
27 | 27 | |
28 | 28 |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | use ivol\EventDispatcher\AfterExecuteEvent; |
3 | 3 | use ivol\EventDispatcher\BeforeExecuteEvent; |
4 | -use ivol\ExecParams; |
|
5 | 4 | use ivol\ExecutionWrapper; |
6 | 5 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
7 | 6 |
@@ -1,3 +1,3 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -require_once __DIR__ . '/../vendor/autoload.php'; |
|
4 | 3 | \ No newline at end of file |
4 | +require_once __DIR__.'/../vendor/autoload.php'; |
|
5 | 5 | \ No newline at end of file |
@@ -57,7 +57,7 @@ |
||
57 | 57 | $this->assertInstanceOf('ivol\EventDispatcher\BeforeExecuteEvent', $actualEvents[0]); |
58 | 58 | $this->assertEquals(new ExecParams('echo %s', array('123')), $actualEvents[0]->getParams()); |
59 | 59 | $this->assertInstanceOf('ivol\EventDispatcher\AfterExecuteEvent', $actualEvents[1]); |
60 | - $this->assertEquals(new Result(0 , array('123')), $actualEvents[1]->getResult()); |
|
60 | + $this->assertEquals(new Result(0, array('123')), $actualEvents[1]->getResult()); |
|
61 | 61 | } |
62 | 62 | } |
63 | 63 |