Completed
Push — master ( c4583c...324e82 )
by John
05:38 queued 02:43
created
tests/unit/EventListener/Request/RequestProcessorTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
         $this->parametersAssemblerMock
159 159
             ->expects($this->once())
160 160
             ->method('assemble')
161
-            ->willReturnCallback(function (
161
+            ->willReturnCallback(function(
162 162
                 Operation $operation,
163 163
                 array $query,
164 164
                 array $attributes,
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
         $this->parametersAssemblerMock
197 197
             ->expects($this->once())
198 198
             ->method('assemble')
199
-            ->willReturnCallback(function (
199
+            ->willReturnCallback(function(
200 200
                 Operation $operation,
201 201
                 array $query,
202 202
                 array $attributes,
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
             ->expects($this->once())
213 213
             ->method('hydrate')
214 214
             ->with($body, $this->isInstanceOf(Schema::class))
215
-            ->willReturnCallback(function () use ($dto) {
215
+            ->willReturnCallback(function() use ($dto) {
216 216
                 return $dto;
217 217
             });
218 218
 
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
      */
297 297
     private function createProcessor(bool $useHydrator = false, $forcedValidationResult = true): RequestProcessor
298 298
     {
299
-        if(null !== $forcedValidationResult){
299
+        if (null !== $forcedValidationResult) {
300 300
             $this->validatorMock
301 301
                 ->expects($this->any())
302 302
                 ->method('validate')
Please login to merge, or discard this patch.