Completed
Push — ezp25676-flysystem_1_x_update ( 4f7ba9...2de430 )
by
unknown
38:00 queued 16:32
created
eZ/Bundle/EzPublishRestBundle/Features/Context/RestContext.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,9 +73,7 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * Initialize class.
75 75
      *
76
-     * @param string $url    Base URL for REST calls
77 76
      * @param string $driver REST Driver to be used
78
-     * @param string $json
79 77
      */
80 78
     public function __construct(
81 79
         $driver = self::DEFAULT_DRIVER,
@@ -89,6 +87,9 @@  discard block
 block discarded – undo
89 87
         $this->setRestDriver($this->driver);
90 88
     }
91 89
 
90
+    /**
91
+     * @param string $url
92
+     */
92 93
     private function setUrl($url)
93 94
     {
94 95
         $this->url = $url;
@@ -167,6 +168,8 @@  discard block
 block discarded – undo
167 168
 
168 169
     /**
169 170
      * @When I send a :type request to :resource (url)
171
+     * @param string $type
172
+     * @param string $resource
170 173
      */
171 174
     public function createAndSendRequest($type, $resource)
172 175
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Features/Context/SubContext/EzRest.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,6 +46,8 @@  discard block
 block discarded – undo
46 46
 
47 47
     /**
48 48
      * @When I set header :header with/for :object object
49
+     * @param string $header
50
+     * @param string $object
49 51
      */
50 52
     public function setHeaderWithObject($header, $object)
51 53
     {
@@ -219,7 +221,7 @@  discard block
 block discarded – undo
219 221
     /**
220 222
      * Decompose the header to get only the object type of the accept/conten-type headers.
221 223
      *
222
-     * @return false|string Decomposed string if found, false other wise
224
+     * @return string Decomposed string if found, false other wise
223 225
      */
224 226
     protected function decomposeObjectHeader($header)
225 227
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Routing/OptionsLoader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     }
30 30
 
31 31
     /**
32
-     * @param mixed $resource
32
+     * @param string $resource
33 33
      * @param string $type
34 34
      *
35 35
      * @return RouteCollection
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/CorsOptions/RestProviderTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
     }
114 114
 
115 115
     /**
116
-     * @return PHPUnit_Framework_MockObject_MockObject|RequestMatcherInterface
116
+     * @return RequestMatcherInterface
117 117
      */
118 118
     protected function getRequestMatcherMock()
119 119
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/EventListener/CsrfListenerTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     }
160 160
 
161 161
     /**
162
-     * @return CsrfProviderInterface|PHPUnit_Framework_MockObject_MockObject
162
+     * @return null|\Symfony\Component\Security\Csrf\CsrfTokenManagerInterface
163 163
      */
164 164
     protected function getCsrfProviderMock()
165 165
     {
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     }
183 183
 
184 184
     /**
185
-     * @return PHPUnit_Framework_MockObject_MockObject|GetResponseEvent
185
+     * @return null|EventDispatcherInterface
186 186
      */
187 187
     protected function getEventMock($class = null)
188 188
     {
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
     }
285 285
 
286 286
     /**
287
-     * @return PHPUnit_Framework_MockObject_MockObject|EventDispatcherInterface
287
+     * @return EventDispatcherInterface
288 288
      */
289 289
     protected function getEventDispatcherMock()
290 290
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/EventListener/EventListenerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,6 +61,7 @@  discard block
 block discarded – undo
61 61
     }
62 62
 
63 63
     /**
64
+     * @param string $class
64 65
      * @return PHPUnit_Framework_MockObject_MockObject|$class
65 66
      */
66 67
     protected function getEventMock($class)
@@ -134,7 +135,6 @@  discard block
 block discarded – undo
134 135
     }
135 136
 
136 137
     /**
137
-     * @param bool $csrfEnabled
138 138
      *
139 139
      * @return CsrfListener
140 140
      */
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/EventListener/RequestListenerTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -80,6 +80,7 @@
 block discarded – undo
80 80
     }
81 81
 
82 82
     /**
83
+     * @param string $uri
83 84
      * @return GetResponseEvent
84 85
      */
85 86
     public function getEvent($uri, $type = HttpKernelInterface::MASTER_REQUEST)
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/EventListener/ResponseListenerTest.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@  discard block
 block discarded – undo
69 69
         );
70 70
     }
71 71
 
72
+    /**
73
+     * @param string $method
74
+     */
72 75
     protected function onKernelViewIsNotRestRequest($method, GetResponseEvent $event)
73 76
     {
74 77
         $this->getVisitorDispatcherMock()
@@ -88,6 +91,9 @@  discard block
 block discarded – undo
88 91
         $this->onKernelView('onKernelResultView', $this->getControllerResultEventMock());
89 92
     }
90 93
 
94
+    /**
95
+     * @param string $method
96
+     */
91 97
     protected function onKernelView($method, $event)
92 98
     {
93 99
         $this->getVisitorDispatcherMock()
@@ -110,7 +116,7 @@  discard block
 block discarded – undo
110 116
     }
111 117
 
112 118
     /**
113
-     * @return AcceptHeaderVisitorDispatcher|PHPUnit_Framework_MockObject_MockObject
119
+     * @return AcceptHeaderVisitorDispatcher
114 120
      */
115 121
     public function getVisitorDispatcherMock()
116 122
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/Functional/ContentTypeTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -418,6 +418,7 @@
 block discarded – undo
418 418
     /**
419 419
      * @depends testAddContentTypeDraftFieldDefinition
420 420
      * @covers GET /content/types/<contentTypeId>/fieldDefinitions/<fieldDefinitionId>
421
+     * @param \Buzz\Message\Response $fieldDefinitionHref
421 422
      */
422 423
     public function testLoadContentTypeFieldDefinition($fieldDefinitionHref)
423 424
     {
Please login to merge, or discard this patch.