@@ -74,8 +74,8 @@ discard block |
||
| 74 | 74 | |
| 75 | 75 | $this->assertEquals( |
| 76 | 76 | [ |
| 77 | - ['class' => 'stdClass1','entityIds' => [48 => 48]], |
|
| 78 | - ['class' => 'stdClass2','entityIds' => [54 => 54]], |
|
| 77 | + ['class' => 'stdClass1', 'entityIds' => [48 => 48]], |
|
| 78 | + ['class' => 'stdClass2', 'entityIds' => [54 => 54]], |
|
| 79 | 79 | ], |
| 80 | 80 | $this->transformer->transform($entities) |
| 81 | 81 | ); |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | |
| 93 | 93 | $this->doctrineHelper->expects($this->exactly($entitiesCount)) |
| 94 | 94 | ->method('getSingleEntityIdentifier') |
| 95 | - ->will($this->returnCallback(function () { |
|
| 95 | + ->will($this->returnCallback(function() { |
|
| 96 | 96 | static $id = 0; |
| 97 | 97 | return $id++; |
| 98 | 98 | })); |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | |
| 119 | 119 | $this->doctrineHelper->expects($this->exactly($entitiesCount)) |
| 120 | 120 | ->method('getSingleEntityIdentifier') |
| 121 | - ->will($this->returnCallback(function () { |
|
| 121 | + ->will($this->returnCallback(function() { |
|
| 122 | 122 | static $id = 0; |
| 123 | 123 | return $id++; |
| 124 | 124 | })); |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | */ |
| 77 | 77 | public function splitFile($pathFile) |
| 78 | 78 | { |
| 79 | - if (! ($this->writer && $this->reader)) { |
|
| 79 | + if (!($this->writer && $this->reader)) { |
|
| 80 | 80 | throw new InvalidConfigurationException('Reader and Writer must be configured.'); |
| 81 | 81 | } |
| 82 | 82 | |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | */ |
| 145 | 145 | public function mergeFiles(array $files, $summaryFile) |
| 146 | 146 | { |
| 147 | - if (! ($this->writer && $this->reader)) { |
|
| 147 | + if (!($this->writer && $this->reader)) { |
|
| 148 | 148 | throw new InvalidConfigurationException('Reader and Writer must be configured.'); |
| 149 | 149 | } |
| 150 | 150 | $contextWriter = null; |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | $items = []; |
| 156 | 156 | $i = 0; |
| 157 | 157 | while ($item = $this->reader->read($contextReader)) { |
| 158 | - if (! $contextWriter) { |
|
| 158 | + if (!$contextWriter) { |
|
| 159 | 159 | $contextWriter = new Context( |
| 160 | 160 | [ |
| 161 | 161 | 'filePath' => $summaryFile, |