Completed
Push — master ( 506871...64c991 )
by Eric
35:28 queued 30:18
created
ResourceBundle/Tests/Form/EventSubscriber/XmlHttpRequestSubscriberTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     }
110 110
 
111 111
     /**
112
-     * @return \PHPUnit_Framework_MockObject_MockObject|FormEvent
112
+     * @return FormEvent
113 113
      */
114 114
     private function createFormEventMock()
115 115
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
         $xmlHttpRequestForm
98 98
             ->expects($this->once())
99 99
             ->method('addError')
100
-            ->with($this->callback(function (FormError $error) {
100
+            ->with($this->callback(function(FormError $error) {
101 101
                 return $error->getMessage() === 'The validation has been disabled.';
102 102
             }));
103 103
 
Please login to merge, or discard this patch.
Tests/Rest/Action/EventSubscriber/ApiActionSubscriberTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@
 block discarded – undo
276 276
     }
277 277
 
278 278
     /**
279
-     * @return \PHPUnit_Framework_MockObject_MockObject|ActionEvent
279
+     * @return ActionEvent
280 280
      */
281 281
     private function createActionEventMock()
282 282
     {
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
         $event
94 94
             ->expects($this->once())
95 95
             ->method('setView')
96
-            ->with($this->callback(function (View $view) {
96
+            ->with($this->callback(function(View $view) {
97 97
                 return $view->getStatusCode() === null && $view->getData() === null;
98 98
             }));
99 99
 
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         $event
122 122
             ->expects($this->once())
123 123
             ->method('setView')
124
-            ->with($this->callback(function (View $view) use ($form) {
124
+            ->with($this->callback(function(View $view) use ($form) {
125 125
                 return $view->getStatusCode() === Response::HTTP_BAD_REQUEST && $view->getData() === $form;
126 126
             }));
127 127
 
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
         $event
155 155
             ->expects($this->once())
156 156
             ->method('setView')
157
-            ->with($this->callback(function (View $view) use ($statusCode) {
157
+            ->with($this->callback(function(View $view) use ($statusCode) {
158 158
                 return $view->getStatusCode() === $statusCode && $view->getData() === null;
159 159
             }));
160 160
 
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
         $event
210 210
             ->expects($this->once())
211 211
             ->method('setView')
212
-            ->with($this->callback(function (View $view) use ($statusCode, $data, $url) {
212
+            ->with($this->callback(function(View $view) use ($statusCode, $data, $url) {
213 213
                 $headers = $view->getHeaders();
214 214
 
215 215
                 return $view->getStatusCode() === $statusCode
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
         $event
253 253
             ->expects($this->once())
254 254
             ->method('setView')
255
-            ->with($this->callback(function (View $view) use ($statusCode, $data) {
255
+            ->with($this->callback(function(View $view) use ($statusCode, $data) {
256 256
                 return $view->getStatusCode() === $statusCode && $view->getData() === $data;
257 257
             }));
258 258
 
Please login to merge, or discard this patch.
Tests/Rest/View/EventSubscriber/ResourceViewSubscriberTest.php 1 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/EventSubscriber/TranslatableResourceSubscriberTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
     }
189 189
 
190 190
     /**
191
-     * @return \PHPUnit_Framework_MockObject_MockObject|LifecycleEventArgs
191
+     * @return LifecycleEventArgs
192 192
      */
193 193
     private function createLifecycleEventArgsMock()
194 194
     {
Please login to merge, or discard this patch.
src/Bundle/TranslationBundle/Tests/Form/Type/TranslatableTypeTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     }
143 143
 
144 144
     /**
145
-     * @return \PHPUnit_Framework_MockObject_MockObject|FormRegistry
145
+     * @return FormRegistry
146 146
      */
147 147
     private function createFormRegistryMock()
148 148
     {
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     }
153 153
 
154 154
     /**
155
-     * @return \PHPUnit_Framework_MockObject_MockObject|ManagerRegistry
155
+     * @return ManagerRegistry
156 156
      */
157 157
     private function createManagerRegistryMock()
158 158
     {
Please login to merge, or discard this patch.
src/Bundle/UiBundle/Tests/LugUiBundleTest.php 1 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/Component/Grid/Tests/Batch/Type/TypeTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     }
63 63
 
64 64
     /**
65
-     * @return \PHPUnit_Framework_MockObject_MockObject|OptionsResolver
65
+     * @return OptionsResolver
66 66
      */
67 67
     private function createOptionsResolverMock()
68 68
     {
Please login to merge, or discard this patch.
Resource/Tests/Form/Type/Doctrine/MongoDB/ResourceChoiceTypeTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@
 block discarded – undo
231 231
     }
232 232
 
233 233
     /**
234
-     * @return \PHPUnit_Framework_MockObject_MockObject|DocumentRepository
234
+     * @return DocumentManager
235 235
      */
236 236
     private function createRepositoryMock()
237 237
     {
Please login to merge, or discard this patch.
Component/Resource/Tests/Form/Type/Doctrine/ORM/ResourceChoiceTypeTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -259,7 +259,7 @@
 block discarded – undo
259 259
     }
260 260
 
261 261
     /**
262
-     * @return \PHPUnit_Framework_MockObject_MockObject|EntityRepository
262
+     * @return EntityManagerInterface
263 263
      */
264 264
     private function createRepositoryMock()
265 265
     {
Please login to merge, or discard this patch.