Completed
Push — develop ( a98fd2...49ed8e )
by Jaap
09:10
created
phpDocumentor/Plugin/Core/Transformer/Writer/Xml/TraitConverterTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
     /**
76 76
      * Creates a mock for the TraitDescriptor class.
77 77
      *
78
-     * @return m\MockTrait|DescriptorAbstract
78
+     * @return m\MockInterface
79 79
      */
80 80
     protected function createTraitDescriptorMock()
81 81
     {
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Plugin/Core/Transformer/Writer/XmlTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 
16 16
 use phpDocumentor\Descriptor\ProjectDescriptor;
17 17
 use phpDocumentor\Descriptor\DescriptorAbstract;
18
-
19 18
 use Mockery as m;
20 19
 use org\bovigo\vfs\vfsStream;
21 20
 use phpDocumentor\Transformer\Router\RouterAbstract;
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Transformer/Configuration/TransformationsTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace phpDocumentor\Transformer\Configuration;
13 13
 
14
-use Mockery as m;
15
-
16 14
 class TransformationsTest extends \PHPUnit_Framework_TestCase
17 15
 {
18 16
     /** @var Transformations */
Please login to merge, or discard this patch.
src/phpDocumentor/Plugin/Core/Descriptor/Validator/ValidatorAbstract.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
      * vsprintf function.
189 189
      *
190 190
      * @param string $message   ID or message to translate.
191
-     * @param array  $variables Variables to use for substitution.
191
+     * @param string[]  $variables Variables to use for substitution.
192 192
      * @codingStandardsIgnoreStart
193 193
      *
194 194
      * @return string
Please login to merge, or discard this patch.
Plugin/LegacyNamespaceConverter/Tests/LegacyNamespaceFilterTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
     /**
156 156
      * Creates a mocked Descriptor.
157 157
      *
158
-     * @return m\MockInterface|DescriptorAbstract
158
+     * @return DescriptorAbstract
159 159
      */
160 160
     private function createDescriptorMock()
161 161
     {
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Compiler/Pass/ResolveInlineLinkAndSeeTagsTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
     /**
199 199
      * Returns the descriptor of the element that the link points to
200 200
      *
201
-     * @return DescriptorAbstract|m\MockInterface
201
+     * @return DescriptorAbstract
202 202
      */
203 203
     private function givenAnElementToLinkTo()
204 204
     {
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
     /**
216 216
      * Returns a collection with descriptor. This collection will be scanned to see if a link can be made to a file.
217 217
      *
218
-     * @param DescriptorAbstract|m\MockInterface $descriptor
218
+     * @param m\MockInterface $descriptor
219 219
      *
220 220
      * @return Collection|m\MockInterface
221 221
      */
Please login to merge, or discard this patch.
unit/phpDocumentor/Descriptor/Builder/Reflector/FunctionAssemblerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
      * @param ArgumentDescriptor|m\MockInterface $argumentMock
86 86
      * @param DocBlock|m\MockInterface           $docBlockMock
87 87
      *
88
-     * @return FunctionReflector|m\MockInterface
88
+     * @return FunctionReflector
89 89
      */
90 90
     protected function givenAFunctionReflector($namespace, $functionName, $argumentMock, $docBlockMock)
91 91
     {
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Descriptor/ProjectAnalyzerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
     }
169 169
 
170 170
     /**
171
-     * @param $interfaceParent
171
+     * @param string $interfaceParent
172 172
      * @return InterfaceDescriptor
173 173
      */
174 174
     protected function givenAnInterfaceWithParent($interfaceParent)
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Transformer/Command/Template/ListCommandTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      *
50 50
      * @param string[] $templateNames
51 51
      *
52
-     * @return m\MockInterface|Factory
52
+     * @return Factory
53 53
      */
54 54
     private function givenAFactoryWithTemplateNames(array $templateNames)
55 55
     {
Please login to merge, or discard this patch.