@@ -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; |
@@ -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; |
@@ -143,7 +143,7 @@ |
||
| 143 | 143 | * This method must return an <b>array</b> of class names for required |
| 144 | 144 | * analyzers. |
| 145 | 145 | * |
| 146 | - * @return array<string> |
|
| 146 | + * @return string[] |
|
| 147 | 147 | */ |
| 148 | 148 | public function getRequiredAnalyzers() |
| 149 | 149 | { |
@@ -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; |
@@ -47,7 +47,6 @@ |
||
| 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; |
@@ -47,7 +47,6 @@ |
||
| 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 | |
| 53 | 52 | /** |
@@ -54,7 +54,6 @@ |
||
| 54 | 54 | use PDepend\Source\AST\ASTCompilationUnit; |
| 55 | 55 | use PDepend\Source\AST\ASTFunction; |
| 56 | 56 | use PDepend\Source\AST\ASTInterface; |
| 57 | -use PDepend\Source\AST\ASTMethod; |
|
| 58 | 57 | use PDepend\Source\AST\ASTNamespace; |
| 59 | 58 | use PDepend\Source\AST\ASTTrait; |
| 60 | 59 | use PDepend\Source\ASTVisitor\AbstractASTVisitor; |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | * Returns an <b>array</b> with accepted analyzer types. These types can be |
| 119 | 119 | * concrete analyzer classes or one of the descriptive analyzer interfaces. |
| 120 | 120 | * |
| 121 | - * @return array<string> |
|
| 121 | + * @return string[] |
|
| 122 | 122 | */ |
| 123 | 123 | public function getAcceptedAnalyzers() |
| 124 | 124 | { |