Completed
Push — master ( a479c5...d88593 )
by Emir
11:30
created
src/test/php/PDepend/AbstractTest.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
     /**
206 206
      * Create a TextUi Runner
207 207
      *
208
-     * @return Runner
208
+     * @return TextUI\Runner
209 209
      */
210 210
     protected function createTextUiRunner()
211 211
     {
@@ -560,6 +560,9 @@  discard block
 block discarded – undo
560 560
         return new Engine($configuration, $cacheFactory, $analyzerFactory);
561 561
     }
562 562
 
563
+    /**
564
+     * @param TextUI\Runner $runner
565
+     */
563 566
     protected function silentRun($runner)
564 567
     {
565 568
         ob_start();
@@ -808,7 +811,7 @@  discard block
 block discarded – undo
808 811
      * Parses the test code associated with the calling test method.
809 812
      *
810 813
      * @param boolean $ignoreAnnotations The parser should ignore annotations.
811
-     * @return \PDepend\Source\AST\ASTNamespace[]
814
+     * @return Source\AST\ASTArtifactList
812 815
      */
813 816
     protected function parseCodeResourceForTest($ignoreAnnotations = false)
814 817
     {
@@ -824,7 +827,7 @@  discard block
 block discarded – undo
824 827
      *
825 828
      * @param string $testCase
826 829
      * @param boolean $ignoreAnnotations
827
-     * @return \PDepend\Source\AST\ASTNamespace[]
830
+     * @return Source\AST\ASTArtifactList
828 831
      */
829 832
     public function parseTestCaseSource($testCase, $ignoreAnnotations = false)
830 833
     {
@@ -848,7 +851,7 @@  discard block
 block discarded – undo
848 851
      *
849 852
      * @param string  $fileOrDirectory
850 853
      * @param boolean $ignoreAnnotations
851
-     * @return \PDepend\Source\AST\ASTNamespace[]
854
+     * @return Source\AST\ASTArtifactList
852 855
      */
853 856
     public function parseSource($fileOrDirectory, $ignoreAnnotations = false)
854 857
     {
Please login to merge, or discard this patch.
src/test/php/PDepend/Issues/PHPDependCatchesParsingErrorsIssue061Test.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
      * Sets a command line argument vector.
157 157
      *
158
-     * @param array(string) $argv The temporary command line argument vector
158
+     * @param string[] $argv The temporary command line argument vector
159 159
      *
160 160
      * @return void
161 161
      */
Please login to merge, or discard this patch.
src/test/php/PDepend/Metrics/AbstractMetricsTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      *
59 59
      * @param string  $testCase
60 60
      * @param boolean $ignoreAnnotations
61
-     * @return \PDepend\Source\AST\ASTNamespace[]
61
+     * @return \PDepend\Source\AST\ASTArtifactList
62 62
      */
63 63
     public function parseTestCaseSource($testCase, $ignoreAnnotations = false)
64 64
     {
Please login to merge, or discard this patch.
src/test/php/PDepend/Metrics/Analyzer/CodeRankAnalyzerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -466,6 +466,9 @@
 block discarded – undo
466 466
         return $this->getCodeRankOrReverseCodeRank('rcr', $options);
467 467
     }
468 468
 
469
+    /**
470
+     * @param string $metricName
471
+     */
469 472
     protected function getCodeRankOrReverseCodeRank($metricName, array $options = array())
470 473
     {
471 474
         $namespaces = $this->parseCodeResourceForTest();
Please login to merge, or discard this patch.
src/test/php/PDepend/Metrics/Analyzer/NPathComplexityAnalyzerTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -512,7 +512,7 @@  discard block
 block discarded – undo
512 512
      * Returns the NPath Complexity of the first function found in source file
513 513
      * associated with the calling test case.
514 514
      *
515
-     * @return integer
515
+     * @return string
516 516
      * @since 0.9.12
517 517
      */
518 518
     private function _calculateFunctionMetric()
@@ -541,7 +541,7 @@  discard block
 block discarded – undo
541 541
      * Returns the NPath Complexity of the first method found in source file
542 542
      * associated with the calling test case.
543 543
      *
544
-     * @return integer
544
+     * @return string
545 545
      * @since 0.9.12
546 546
      */
547 547
     private function _calculateMethodMetric()
Please login to merge, or discard this patch.
src/test/php/PDepend/ParserTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -984,7 +984,7 @@
 block discarded – undo
984 984
     /**
985 985
      * Tests that the parser supports sub packages.
986 986
      *
987
-     * @return \PDepend\Source\AST\ASTNamespace[]
987
+     * @return ASTArtifactList
988 988
      */
989 989
     public function testParserSetsFileLevelFunctionPackage()
990 990
     {
Please login to merge, or discard this patch.
src/test/php/PDepend/Report/Dependencies/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/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/ASTCallableTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -296,7 +296,7 @@
 block discarded – undo
296 296
     /**
297 297
      * Returns a mocked instance of the callable class.
298 298
      *
299
-     * @return \PDepend\Source\AST\AbstractASTCallable
299
+     * @return \PHPUnit_Framework_MockObject_MockObject
300 300
      */
301 301
     protected function getCallableMock()
302 302
     {
Please login to merge, or discard this patch.