Completed
Push — travis_redis ( 167d5d...9b0e33 )
by André
27:28
created
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/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/RequestParser/RouterTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
     }
150 150
 
151 151
     /**
152
-     * @return \Symfony\Cmf\Component\Routing\ChainRouter|\PHPUnit_Framework_MockObject_MockObject
152
+     * @return \Symfony\Component\Routing\RouterInterface
153 153
      */
154 154
     private function getRouterMock()
155 155
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/ContentTypeService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      * @throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException if the user is not allowed to delete a content type group
88 88
      * @throws \eZ\Publish\API\Repository\Exceptions\InvalidArgumentException If  a to be deleted content type has instances
89 89
      *
90
-     * @param \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup $ContentTypeGroup
90
+     * @param \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup $contentTypeGroup
91 91
      */
92 92
     public function deleteContentTypeGroup(ContentTypeGroup $contentTypeGroup);
93 93
 
Please login to merge, or discard this patch.
eZ/Publish/Core/MVC/Symfony/Routing/Generator/RouteReferenceGenerator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use eZ\Publish\Core\MVC\Symfony\RequestStackAware;
16 16
 use eZ\Publish\Core\MVC\Symfony\Routing\RouteReference;
17 17
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
18
-use Symfony\Component\HttpFoundation\Request;
19 18
 
20 19
 class RouteReferenceGenerator implements RouteReferenceGeneratorInterface
21 20
 {
Please login to merge, or discard this patch.
Legacy/Tests/Content/_fixtures/extract_content_from_rows_result.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use eZ\Publish\SPI\Persistence\Content\ContentInfo;
5 5
 use eZ\Publish\SPI\Persistence\Content\Field;
6 6
 use eZ\Publish\SPI\Persistence\Content\FieldValue;
7
-use eZ\Publish\SPI\Persistence\Content\Location;
8 7
 use eZ\Publish\SPI\Persistence\Content\VersionInfo;
9 8
 
10 9
 $content = new Content();
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/DependencyInjection/Configuration.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@
 block discarded – undo
22 22
         return $treeBuilder;
23 23
     }
24 24
 
25
+    /**
26
+     * @param \Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition $rootNode
27
+     */
25 28
     public function addRestRootResourcesSection($rootNode)
26 29
     {
27 30
         $systemNode = $this->generateScopeBaseNode($rootNode);
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/Features/Context/BasicContentContext.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      *
114 114
      * @param string $path The content path
115 115
      * @param array $fields
116
-     * @param mixed $contentType The content type identifier
116
+     * @param string $contentType The content type identifier
117 117
      *
118 118
      * @return mixed location id of the created content
119 119
      */
@@ -147,6 +147,7 @@  discard block
 block discarded – undo
147 147
 
148 148
     /**
149 149
      * Maps the path of the content to it's name for later use.
150
+     * @param string $path
150 151
      */
151 152
     private function mapContentPath($path)
152 153
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/Features/Context/FieldTypeContext.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -228,6 +228,7 @@
 block discarded – undo
228 228
      *
229 229
      * @param string The field name
230 230
      * @param mixed The field value
231
+     * @param string|null $field
231 232
      */
232 233
     private function createAndPublishContent($field, $value)
233 234
     {
Please login to merge, or discard this patch.