Completed
Push — master ( 3273c7...1ca3a8 )
by Marc
21s queued 17s
created
src/main/php/PDepend/Source/AST/ASTClassOrInterfaceReference.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
      * Magic method which returns the names of all those properties that should
117 117
      * be cached for this node instance.
118 118
      *
119
-     * @return array
119
+     * @return string[]
120 120
      * @since  0.10.0
121 121
      */
122 122
     public function __sleep()
Please login to merge, or discard this patch.
src/main/php/PDepend/Source/AST/ASTConditionalExpression.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,8 @@
 block discarded – undo
65 65
      * by a visitor during tree traversal.
66 66
      *
67 67
      * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor
68
-     * @param mixed $data
69
-     * @return mixed
68
+     * @param integer $data
69
+     * @return string
70 70
      * @since 0.9.12
71 71
      */
72 72
     public function accept(ASTVisitor $visitor, $data = null)
Please login to merge, or discard this patch.
src/main/php/PDepend/Source/AST/ASTSelfReference.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
      * before an instance of this class gets serialized. It should return an
122 122
      * array with those property names that should be serialized for this class.
123 123
      *
124
-     * @return array
124
+     * @return string[]
125 125
      * @since  0.10.0
126 126
      */
127 127
     public function __sleep()
Please login to merge, or discard this patch.
src/main/php/PDepend/Source/AST/ASTStatement.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,9 +57,9 @@
 block discarded – undo
57 57
      * by a visitor during tree traversal.
58 58
      *
59 59
      * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor The calling visitor instance.
60
-     * @param mixed                                 $data
60
+     * @param integer                                 $data
61 61
      *
62
-     * @return mixed
62
+     * @return string
63 63
      * @since  0.9.12
64 64
      */
65 65
     public function accept(\PDepend\Source\ASTVisitor\ASTVisitor $visitor, $data = null)
Please login to merge, or discard this patch.
src/main/php/PDepend/Source/AST/ASTTraitAdaptationAlias.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
      * before an instance of this class gets serialized. It should return an
118 118
      * array with those property names that should be serialized for this class.
119 119
      *
120
-     * @return array
120
+     * @return string[]
121 121
      */
122 122
     public function __sleep()
123 123
     {
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/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 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,6 @@
 block discarded – undo
43 43
 namespace PDepend\Report\Dependencies;
44 44
 
45 45
 use PDepend\AbstractTest;
46
-use PDepend\Source\AST\ASTArtifactList;
47 46
 
48 47
 /**
49 48
  * Test case for the xml summary log.
Please login to merge, or discard this patch.