Completed
Push — master ( 552cf0...ff5a3f )
by Саша
02:06
created
spec/Extraload/Transformer/NoopTransformerSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace spec\Extraload\Transformer;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class NoopTransformerSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.
features/bootstrap/HookContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
      */
10 10
     public function initialize()
11 11
     {
12
-        self::$workingDirectory = sys_get_temp_dir().DIRECTORY_SEPARATOR.'etl'.DIRECTORY_SEPARATOR;
12
+        self::$workingDirectory = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'etl' . DIRECTORY_SEPARATOR;
13 13
     }
14 14
 
15 15
     /**
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         array_shift($files);
28 28
 
29 29
         foreach ($files as $file) {
30
-            $file = $path.DIRECTORY_SEPARATOR.$file;
30
+            $file = $path . DIRECTORY_SEPARATOR . $file;
31 31
             if (is_dir($file)) {
32 32
                 $this->clearDirectory($file);
33 33
             } else {
Please login to merge, or discard this patch.
features/bootstrap/BaseContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 
10 10
     protected function createFile($name, $content)
11 11
     {
12
-        $path = self::$workingDirectory.$name;
12
+        $path = self::$workingDirectory . $name;
13 13
 
14 14
         $this->createDirectory(dirname($path));
15 15
 
Please login to merge, or discard this patch.
spec/Extraload/Extractor/CsvExtractorSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     function let()
10 10
     {
11
-        $this->beConstructedWith(new \SplFileObject(__DIR__.'/../../Fixture/extract.csv'));
11
+        $this->beConstructedWith(new \SplFileObject(__DIR__ . '/../../Fixture/extract.csv'));
12 12
     }
13 13
 
14 14
     function it_is_initializable()
Please login to merge, or discard this patch.
spec/Extraload/Loader/Doctrine/DbalLoaderSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace spec\Extraload\Transformer;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class NoopTransformerSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.
spec/Extraload/Transformer/CallbackTransformerSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace spec\Extraload\Transformer;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class NoopTransformerSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.
features/bootstrap/DefaultPipelineContext.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
     {
108 108
         switch ($type) {
109 109
             case 'callable':
110
-                return new CallbackTransformer(function ($data) {
110
+                return new CallbackTransformer(function($data) {
111 111
                     return [
112 112
                         'isbn' => $data[0],
113 113
                         'title' => $data[1],
@@ -117,12 +117,12 @@  discard block
 block discarded – undo
117 117
 
118 118
             case 'chain':
119 119
                 return new TransformerChain([
120
-                    new CallbackTransformer(function ($data) {
120
+                    new CallbackTransformer(function($data) {
121 121
                         unset($data[0]);
122 122
 
123 123
                         return $data;
124 124
                     }),
125
-                    new CallbackTransformer(function ($data) {
125
+                    new CallbackTransformer(function($data) {
126 126
                         return [
127 127
                             'title' => $data[1],
128 128
                             'author' => $data[2],
Please login to merge, or discard this patch.