Completed
Push — master ( 3d5e83...205c0f )
by Eric
70:08 queued 64:12
created
src/Bundle/ResourceBundle/Controller/Controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@
 block discarded – undo
243 243
             $data = $bag->get($form->getName(), []);
244 244
         }
245 245
 
246
-        array_walk_recursive($data, function (&$value) {
246
+        array_walk_recursive($data, function(&$value) {
247 247
             if ($value === false) {
248 248
                 $value = 'false';
249 249
             }
Please login to merge, or discard this patch.
Tests/Rest/Action/EventSubscriber/ViewActionSubscriberTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         $event
91 91
             ->expects($this->once())
92 92
             ->method('setView')
93
-            ->with($this->callback(function (View $view) use ($form) {
93
+            ->with($this->callback(function(View $view) use ($form) {
94 94
                 return $view->getData() === $form && $view->getStatusCode() === null;
95 95
             }));
96 96
 
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
         $event
140 140
             ->expects($this->once())
141 141
             ->method('setView')
142
-            ->with($this->callback(function (View $view) use ($route, $routeParameters) {
142
+            ->with($this->callback(function(View $view) use ($route, $routeParameters) {
143 143
                 return $view->getStatusCode() === Response::HTTP_FOUND
144 144
                     && $view->getRoute() === $route
145 145
                     && $view->getRouteParameters() === $routeParameters;
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
         $event
170 170
             ->expects($this->once())
171 171
             ->method('setView')
172
-            ->with($this->callback(function (View $view) use ($route) {
172
+            ->with($this->callback(function(View $view) use ($route) {
173 173
                 return $view->getRoute() === $route && $view->getRouteParameters() === [];
174 174
             }));
175 175
 
Please login to merge, or discard this patch.
Tests/Rest/View/EventSubscriber/PagerfantaViewSubscriberTest.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
             ->method('createRepresentation')
201 201
             ->with(
202 202
                 $this->identicalTo($pagerfanta),
203
-                $this->callback(function ($config) use ($route, $routeParameters, $queryParameters) {
203
+                $this->callback(function($config) use ($route, $routeParameters, $queryParameters) {
204 204
                     return $config instanceof Route
205 205
                         && $config->getName() === $route
206 206
                         && $config->getParameters() === array_merge($routeParameters, $queryParameters);
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@
 block discarded – undo
235 235
     }
236 236
 
237 237
     /**
238
-     * @return \PHPUnit_Framework_MockObject_MockObject|ViewEvent
238
+     * @return ViewEvent
239 239
      */
240 240
     private function createViewEventMock()
241 241
     {
Please login to merge, or discard this patch.
Tests/DependencyInjection/Compiler/RegisterManagerPassTest.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
             ->method('addMethodCall')
64 64
             ->with(
65 65
                 $this->identicalTo('offsetSet'),
66
-                $this->callback(function (array $args) use ($manager, $resource) {
66
+                $this->callback(function(array $args) use ($manager, $resource) {
67 67
                     return isset($args[0])
68 68
                         && isset($args[1])
69 69
                         && $args[0] === $resource
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     }
52 52
 
53 53
     /**
54
-     * @return \PHPUnit_Framework_MockObject_MockObject|ContainerBuilder
54
+     * @return ContainerBuilder
55 55
      */
56 56
     private function createContainerBuilderMock()
57 57
     {
Please login to merge, or discard this patch.
Tests/DependencyInjection/Compiler/RegisterDomainManagerPassTest.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
             ->method('addMethodCall')
64 64
             ->with(
65 65
                 $this->identicalTo('offsetSet'),
66
-                $this->callback(function (array $args) use ($domainManager, $resource) {
66
+                $this->callback(function(array $args) use ($domainManager, $resource) {
67 67
                     return isset($args[0])
68 68
                         && isset($args[1])
69 69
                         && $args[0] === $resource
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     }
52 52
 
53 53
     /**
54
-     * @return \PHPUnit_Framework_MockObject_MockObject|ContainerBuilder
54
+     * @return ContainerBuilder
55 55
      */
56 56
     private function createContainerBuilderMock()
57 57
     {
Please login to merge, or discard this patch.
Tests/DependencyInjection/Compiler/RegisterResourcePassTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
             ->method('addMethodCall')
73 73
             ->with(
74 74
                 $this->identicalTo('offsetSet'),
75
-                $this->callback(function (array $args) use ($name, $resource) {
75
+                $this->callback(function(array $args) use ($name, $resource) {
76 76
                     return isset($args[0])
77 77
                         && isset($args[1])
78 78
                         && $args[0] === $name
Please login to merge, or discard this patch.
Compiler/ConfigureResolveTargetEntitySubscriberPassTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         $definition
69 69
             ->expects($this->once())
70 70
             ->method('setConfigurator')
71
-            ->with($this->callback(function (array $configurator) {
71
+            ->with($this->callback(function(array $configurator) {
72 72
                 return isset($configurator[0])
73 73
                     && isset($configurator[1])
74 74
                     && $configurator[0] instanceof Reference
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
         $definition
118 118
             ->expects($this->once())
119 119
             ->method('setConfigurator')
120
-            ->with($this->callback(function (array $configurator) {
120
+            ->with($this->callback(function(array $configurator) {
121 121
                 return isset($configurator[0])
122 122
                 && isset($configurator[1])
123 123
                 && $configurator[0] instanceof Reference
Please login to merge, or discard this patch.
Tests/DependencyInjection/Compiler/RegisterRepositoryPassTest.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
             ->method('addMethodCall')
64 64
             ->with(
65 65
                 $this->identicalTo('offsetSet'),
66
-                $this->callback(function (array $args) use ($repository, $resource) {
66
+                $this->callback(function(array $args) use ($repository, $resource) {
67 67
                     return isset($args[0])
68 68
                         && isset($args[1])
69 69
                         && $args[0] === $resource
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     }
52 52
 
53 53
     /**
54
-     * @return \PHPUnit_Framework_MockObject_MockObject|ContainerBuilder
54
+     * @return ContainerBuilder
55 55
      */
56 56
     private function createContainerBuilderMock()
57 57
     {
Please login to merge, or discard this patch.
src/Bundle/GridBundle/Form/Type/GridType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,11 +71,11 @@
 block discarded – undo
71 71
     {
72 72
         $resolver
73 73
             ->setDefaults([
74
-                'persistent' => function (Options $options) {
74
+                'persistent' => function(Options $options) {
75 75
                     return $options['grid']->hasOption('persistent')
76 76
                         && $options['grid']->getOption('persistent');
77 77
                 },
78
-                'xml_http_request' => function (Options $options) {
78
+                'xml_http_request' => function(Options $options) {
79 79
                     return $options['grid']->hasOption('xml_http_request')
80 80
                         && $options['grid']->getOption('xml_http_request');
81 81
                 },
Please login to merge, or discard this patch.