Test Setup Failed
Push — master ( dc0943...e083ea )
by
unknown
04:03
created
Oro/Bundle/SearchBundle/Tests/Unit/Transformer/MessageTransformerTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -74,8 +74,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
             }));
Please login to merge, or discard this patch.
src/Oro/Bundle/ImportExportBundle/File/BatchFileManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/Oro/Bundle/ImportExportBundle/EventListener/ExportJoinListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,8 @@
 block discarded – undo
58 58
         $identifier = $this->getEntityIdentifier($entityName);
59 59
 
60 60
         return array_map(
61
-            function ($object) use ($identifier) {
62
-                return  PropertyAccess::createPropertyAccessor()->getValue($object, $identifier) ;
61
+            function($object) use ($identifier) {
62
+                return  PropertyAccess::createPropertyAccessor()->getValue($object, $identifier);
63 63
             },
64 64
             $rows
65 65
         );
Please login to merge, or discard this patch.