@@ -172,6 +172,7 @@ |
||
172 | 172 | } |
173 | 173 | |
174 | 174 | /** |
175 | + * @param string $serviceTag |
|
175 | 176 | * @return array(string => string) |
176 | 177 | */ |
177 | 178 | private function getAvailableOptionsFor($serviceTag) |
@@ -310,7 +310,7 @@ |
||
310 | 310 | * Analyzes the registered directories and returns the collection of |
311 | 311 | * analyzed namespace. |
312 | 312 | * |
313 | - * @return \PDepend\Source\AST\ASTNamespace[] |
|
313 | + * @return Source\AST\ASTArtifactList |
|
314 | 314 | */ |
315 | 315 | public function analyze() |
316 | 316 | { |
@@ -46,10 +46,8 @@ |
||
46 | 46 | use PDepend\Input\Filter; |
47 | 47 | use PDepend\Input\Iterator; |
48 | 48 | use PDepend\Metrics\AnalyzerCacheAware; |
49 | -use PDepend\Metrics\AnalyzerClassFileSystemLocator; |
|
50 | 49 | use PDepend\Metrics\AnalyzerFactory; |
51 | 50 | use PDepend\Metrics\AnalyzerFilterAware; |
52 | -use PDepend\Metrics\AnalyzerLoader; |
|
53 | 51 | use PDepend\Report\CodeAwareGenerator; |
54 | 52 | use PDepend\Source\AST\ASTArtifactList\ArtifactFilter; |
55 | 53 | use PDepend\Source\AST\ASTArtifactList\CollectionArtifactFilter; |
@@ -55,7 +55,7 @@ |
||
55 | 55 | * This method must return an <b>array</b> of class names for required |
56 | 56 | * analyzers. |
57 | 57 | * |
58 | - * @return array(string) |
|
58 | + * @return string[] |
|
59 | 59 | */ |
60 | 60 | public function getRequiredAnalyzers(); |
61 | 61 |
@@ -57,6 +57,7 @@ discard block |
||
57 | 57 | * |
58 | 58 | * @param array(string=>mixed) $options Global option array, every analyzer |
59 | 59 | * can extract the required options. |
60 | + * @return void |
|
60 | 61 | */ |
61 | 62 | public function __construct(array $options = array()); |
62 | 63 | |
@@ -91,6 +92,7 @@ discard block |
||
91 | 92 | * |
92 | 93 | * @param array(string=>mixed) $options |
93 | 94 | * @since 2.0.1 |
95 | + * @return void |
|
94 | 96 | */ |
95 | 97 | public function setOptions(array $options = array()); |
96 | 98 | } |
@@ -42,8 +42,6 @@ |
||
42 | 42 | |
43 | 43 | namespace PDepend\Metrics; |
44 | 44 | |
45 | -use PDepend\Source\AST\ASTArtifactList; |
|
46 | - |
|
47 | 45 | /** |
48 | 46 | * Base interface for all analyzer implementations. |
49 | 47 | * |
@@ -48,7 +48,6 @@ |
||
48 | 48 | use PDepend\Metrics\AnalyzerNodeAware; |
49 | 49 | use PDepend\Source\AST\AbstractASTType; |
50 | 50 | use PDepend\Source\AST\ASTArtifact; |
51 | -use PDepend\Source\AST\ASTArtifactList; |
|
52 | 51 | use PDepend\Source\AST\ASTClass; |
53 | 52 | use PDepend\Source\AST\ASTInterface; |
54 | 53 | use PDepend\Source\AST\ASTMethod; |
@@ -46,7 +46,6 @@ |
||
46 | 46 | use PDepend\Metrics\Analyzer\CodeRankAnalyzer\StrategyFactory; |
47 | 47 | use PDepend\Metrics\AnalyzerNodeAware; |
48 | 48 | use PDepend\Source\AST\ASTArtifact; |
49 | -use PDepend\Source\AST\ASTArtifactList; |
|
50 | 49 | |
51 | 50 | /** |
52 | 51 | * Calculates the code rank metric for classes and namespaces. |
@@ -45,7 +45,6 @@ |
||
45 | 45 | use PDepend\Metrics\AbstractAnalyzer; |
46 | 46 | use PDepend\Metrics\AnalyzerNodeAware; |
47 | 47 | use PDepend\Source\AST\ASTArtifact; |
48 | -use PDepend\Source\AST\ASTArtifactList; |
|
49 | 48 | |
50 | 49 | /** |
51 | 50 | * This analyzer implements several metrics that describe cohesion of classes |
@@ -48,7 +48,6 @@ |
||
48 | 48 | use PDepend\Source\AST\AbstractASTCallable; |
49 | 49 | use PDepend\Source\AST\AbstractASTType; |
50 | 50 | use PDepend\Source\AST\ASTArtifact; |
51 | -use PDepend\Source\AST\ASTArtifactList; |
|
52 | 51 | use PDepend\Source\AST\ASTClass; |
53 | 52 | use PDepend\Source\AST\ASTFunction; |
54 | 53 | use PDepend\Source\AST\ASTInterface; |
@@ -47,7 +47,6 @@ |
||
47 | 47 | use PDepend\Metrics\AnalyzerProjectAware; |
48 | 48 | use PDepend\Source\AST\AbstractASTCallable; |
49 | 49 | use PDepend\Source\AST\ASTArtifact; |
50 | -use PDepend\Source\AST\ASTArtifactList; |
|
51 | 50 | use PDepend\Source\AST\ASTFunction; |
52 | 51 | use PDepend\Source\AST\ASTInterface; |
53 | 52 | use PDepend\Source\AST\ASTMethod; |