Completed
Pull Request — master (#104)
by
unknown
02:07
created
tests/functional/GenericDataApiTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      */
62 62
     public function canFindByCriteria()
63 63
     {
64
-        $criteria     = [
64
+        $criteria = [
65 65
             (object)[
66 66
                 'fieldName' => 'x',
67 67
                 'operator'  => 'eq',
Please login to merge, or discard this patch.
src/DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
             ->beforeNormalization()
35 35
             ->ifString()
36 36
             ->then(
37
-                function ($v) {
37
+                function($v) {
38 38
                     return [$v];
39 39
                 }
40 40
             )
Please login to merge, or discard this patch.
tests/unit/EventListener/Request/RequestProcessorTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
             ->expects($this->once())
171 171
             ->method('assemble')
172 172
             ->willReturnCallback(
173
-                function (
173
+                function(
174 174
                     Operation $operation,
175 175
                     array $query,
176 176
                     array $attributes,
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
             ->expects($this->once())
214 214
             ->method('assemble')
215 215
             ->willReturnCallback(
216
-                function (
216
+                function(
217 217
                     Operation $operation,
218 218
                     array $query,
219 219
                     array $attributes,
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
             ->method('hydrate')
232 232
             ->with($body, $this->isInstanceOf(Schema::class))
233 233
             ->willReturnCallback(
234
-                function () use ($dto) {
234
+                function() use ($dto) {
235 235
                     return $dto;
236 236
                 }
237 237
             );
Please login to merge, or discard this patch.
tests/unit/Test/ApiResponseErrorExceptionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public function getGetDataAndContentFromException()
39 39
     {
40
-        $data    = (object)[
40
+        $data = (object)[
41 41
             'message' => 'Reason',
42 42
             'extra'   => 'foo',
43 43
         ];
Please login to merge, or discard this patch.
tests/unit/Security/RequestAuthorizationListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function willInvokeAuthorizationCheckerWithCorrectAttributeAndRequest()
50 50
     {
51
-        $request  = new Request();
51
+        $request = new Request();
52 52
 
53 53
         /** @var \PHPUnit_Framework_MockObject_MockObject $mock */
54 54
         $mock = $this->authorizationChecker;
Please login to merge, or discard this patch.