Completed
Push — master ( 3273c7...1ca3a8 )
by Marc
21s queued 17s
created
src/test/php/PDepend/Source/AST/AbstractASTArtifactTest.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
      * @param string  $testCase
77 77
      * @param boolean $ignoreAnnotations
78
-     * @return \PDepend\Source\AST\ASTNamespace[]
78
+     * @return ASTArtifactList
79 79
      */
80 80
     public function parseTestCaseSource($testCase, $ignoreAnnotations = false)
81 81
     {
Please login to merge, or discard this patch.
src/test/php/PDepend/Source/AST/ASTFunctionTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
173 173
     /**
174 174
      * testClassReferenceForJavaStyleArrayNotation
175 175
      *
176
-     * @return \PDepend\Source\AST\ASTClassOrInterfaceReference
176
+     * @return AbstractASTClassOrInterface|null
177 177
      */
178 178
     public function testClassReferenceForJavaStyleArrayNotation()
179 179
     {
Please login to merge, or discard this patch.
src/test/php/PDepend/Source/AST/ASTVariableVariableTest.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,6 @@
 block discarded – undo
123 123
     /**
124 124
      * Returns a node instance for the currently executed test case.
125 125
      *
126
-     * @param string $testCase Name of the calling test case.
127 126
      *
128 127
      * @return \PDepend\Source\AST\ASTVariableVariable
129 128
      */
Please login to merge, or discard this patch.
src/test/php/PDepend/TextUI/CommandTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,6 @@
 block discarded – undo
44 44
 
45 45
 use PDepend\AbstractTest;
46 46
 use PDepend\Util\ConfigurationInstance;
47
-use PHPUnit_Framework_TestCase;
48 47
 
49 48
 /**
50 49
  * Test case for the text ui command.
Please login to merge, or discard this patch.
src/main/php/PDepend/Source/AST/ASTAnonymousClass.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
      * before an instance of this class gets serialized. It should return an
327 327
      * array with those property names that should be serialized for this class.
328 328
      *
329
-     * @return array
329
+     * @return string[]
330 330
      * @since 0.10.0
331 331
      */
332 332
     public function __sleep()
@@ -401,7 +401,7 @@  discard block
 block discarded – undo
401 401
      * container.
402 402
      *
403 403
      * @param integer $index
404
-     * @param mixed $value
404
+     * @param integer $value
405 405
      * @return void
406 406
      * @since 0.10.4
407 407
      */
Please login to merge, or discard this patch.
src/main/php/PDepend/Metrics/Analyzer/NodeCountAnalyzer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,6 @@
 block discarded – undo
47 47
 use PDepend\Metrics\AnalyzerNodeAware;
48 48
 use PDepend\Metrics\AnalyzerProjectAware;
49 49
 use PDepend\Source\AST\ASTArtifact;
50
-use PDepend\Source\AST\ASTArtifactList;
51 50
 use PDepend\Source\AST\ASTClass;
52 51
 use PDepend\Source\AST\ASTFunction;
53 52
 use PDepend\Source\AST\ASTInterface;
Please login to merge, or discard this patch.
src/test/php/PDepend/Report/Summary/XmlTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -219,6 +219,9 @@
 block discarded – undo
219 219
         );
220 220
     }
221 221
 
222
+    /**
223
+     * @param string $fileName
224
+     */
222 225
     protected function getNormalizedPathXml($fileName)
223 226
     {
224 227
         return preg_replace(
Please login to merge, or discard this patch.
src/test/php/PDepend/Report/Overview/PyramidTest.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -263,6 +263,9 @@  discard block
 block discarded – undo
263 263
         unlink($output);
264 264
     }
265 265
 
266
+    /**
267
+     * @return \PDepend\Metrics\Analyzer
268
+     */
266 269
     private function createCouplingAnalyzer()
267 270
     {
268 271
         $mock = $this->getMockBuilder('\\PDepend\\Metrics\\Analyzer\\CouplingAnalyzer')
@@ -279,6 +282,9 @@  discard block
 block discarded – undo
279 282
         return $mock;
280 283
     }
281 284
 
285
+    /**
286
+     * @return \PDepend\Metrics\Analyzer
287
+     */
282 288
     private function createComplexityAnalyzer()
283 289
     {
284 290
         $mock = $this->getMockBuilder('\\PDepend\\Metrics\\Analyzer\\CyclomaticComplexityAnalyzer')
@@ -294,6 +300,9 @@  discard block
 block discarded – undo
294 300
         return $mock;
295 301
     }
296 302
 
303
+    /**
304
+     * @return \PDepend\Metrics\Analyzer
305
+     */
297 306
     private function createInheritanceAnalyzer()
298 307
     {
299 308
         $mock = $this->getMockBuilder('\\PDepend\\Metrics\\Analyzer\\InheritanceAnalyzer')
@@ -310,6 +319,9 @@  discard block
 block discarded – undo
310 319
         return $mock;
311 320
     }
312 321
 
322
+    /**
323
+     * @return \PDepend\Metrics\Analyzer
324
+     */
313 325
     private function createNodeCountAnalyzer()
314 326
     {
315 327
         $mock = $this->getMockBuilder('\\PDepend\\Metrics\\Analyzer\\NodeCountAnalyzer')
@@ -328,6 +340,9 @@  discard block
 block discarded – undo
328 340
         return $mock;
329 341
     }
330 342
 
343
+    /**
344
+     * @return \PDepend\Metrics\Analyzer
345
+     */
331 346
     private function createNodeLocAnalyzer()
332 347
     {
333 348
         $mock = $this->getMockBuilder('\\PDepend\\Metrics\\Analyzer\\NodeLocAnalyzer')
Please login to merge, or discard this patch.
src/test/php/PDepend/Source/AST/ASTNodeTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -785,7 +785,7 @@
 block discarded – undo
785 785
      * @param string $testCase
786 786
      * @param boolean $ignoreAnnotations
787 787
      *
788
-     * @return \PDepend\Source\AST\ASTNamespace[]
788
+     * @return ASTArtifactList
789 789
      */
790 790
     public function parseTestCaseSource($testCase, $ignoreAnnotations = false)
791 791
     {
Please login to merge, or discard this patch.