@@ -117,6 +117,9 @@ |
||
| 117 | 117 | return $this->addVisitors($analyzer, $this->visitors, 'analyze'); |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | + /** |
|
| 121 | + * @param string $traverse |
|
| 122 | + */ |
|
| 120 | 123 | private function addVisitors(VisitableAnalyzer $analyzer, array $visitors, $traverse) |
| 121 | 124 | { |
| 122 | 125 | foreach($visitors as $key => $closure) |
@@ -103,7 +103,7 @@ |
||
| 103 | 103 | } |
| 104 | 104 | } |
| 105 | 105 | |
| 106 | - return $visitor; |
|
| 106 | + return $visitor; |
|
| 107 | 107 | }, |
| 108 | 108 | |
| 109 | 109 | 'dependency.interfaceSegregation' => function(array $config) { |
@@ -12,6 +12,9 @@ |
||
| 12 | 12 | $parameterType, |
| 13 | 13 | $method; |
| 14 | 14 | |
| 15 | + /** |
|
| 16 | + * @param string $parameterTypeName |
|
| 17 | + */ |
|
| 15 | 18 | public function __construct(Node $node, $parameterTypeName, $parameterType, $method) |
| 16 | 19 | { |
| 17 | 20 | parent::__construct($node); |
@@ -86,6 +86,9 @@ |
||
| 86 | 86 | return $allowed; |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | + /** |
|
| 90 | + * @return string |
|
| 91 | + */ |
|
| 89 | 92 | private function extractClassNameFromFullName($classFullname) |
| 90 | 93 | { |
| 91 | 94 | $classname = $classFullname; |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | $prettyPrint = new Standard(); |
| 22 | 22 | |
| 23 | 23 | $this->content = $this->twig->render( |
| 24 | - 'report.html.twig', |
|
| 24 | + 'report.html.twig', |
|
| 25 | 25 | array( |
| 26 | 26 | 'project' => 'Solidifier', |
| 27 | 27 | 'defects' => $this->sortDefectsByNamespace($defects), |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | && $this->currentMethodState->isValid() === false) |
| 73 | 73 | { |
| 74 | 74 | $this->dispatch( |
| 75 | - new NotFluidSetter($this->currentObjectType, $node) |
|
| 75 | + new NotFluidSetter($this->currentObjectType, $node) |
|
| 76 | 76 | ); |
| 77 | 77 | } |
| 78 | 78 | } |