Completed
Pull Request — master (#5)
by Dzmitry
08:03
created
src/ExecutionWrapper.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * @param string $command Sprintf formatted string @see http://php.net/manual/en/function.sprintf.php
36
-     * @param array $params
36
+     * @param string[] $params
37 37
      * @return ExecutionResult
38 38
      */
39 39
     public function exec($command, $params)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use ivol\Config\ConfigurationFactory;
5 5
 use ivol\EventDispatcher\AfterExecuteEvent;
6 6
 use ivol\EventDispatcher\BeforeExecuteEvent;
7
-use ivol\EventDispatcher\EscapeArgsSubscriber;
8 7
 use Symfony\Component\EventDispatcher\EventDispatcher;
9 8
 
10 9
 class ExecutionWrapper
Please login to merge, or discard this patch.
tests/src/ExecutionWrapperIntegrationTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use ivol\EventDispatcher\AfterExecuteEvent;
5 5
 use ivol\EventDispatcher\BeforeExecuteEvent;
6
-use ivol\ExecutionContext;
7 6
 use ivol\ExecutionWrapper;
8 7
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
9 8
 
Please login to merge, or discard this patch.
tests/src/ExecutionWrapperTest.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 namespace ivol\tests;
3 3
 
4 4
 use Composer\EventDispatcher\Event;
5
-use ivol\Config\ConfigurationFactory;
6 5
 use ivol\EventDispatcher\AfterExecuteEvent;
7 6
 use ivol\EventDispatcher\BeforeExecuteEvent;
8 7
 use ivol\ExecutionContext;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         $this->assertInstanceOf('ivol\EventDispatcher\BeforeExecuteEvent', $actualEvents[0]);
59 59
         $this->assertEquals(new ExecutionContext('echo %s', array('123')), $actualEvents[0]->getParams());
60 60
         $this->assertInstanceOf('ivol\EventDispatcher\AfterExecuteEvent', $actualEvents[1]);
61
-        $this->assertEquals(new ExecutionResult(0 , array('123')), $actualEvents[1]->getResult());
61
+        $this->assertEquals(new ExecutionResult(0, array('123')), $actualEvents[1]->getResult());
62 62
     }
63 63
 }
64 64
 
Please login to merge, or discard this patch.