Skip to content

Commit

Permalink
Fixed complexity offences
Browse files Browse the repository at this point in the history
  • Loading branch information
etki committed Nov 26, 2017
1 parent fb5327a commit 69714cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Indexing/Normalizer.php
Expand Up @@ -39,7 +39,8 @@ public function normalize(IndexingInterface $indexing, ContextInterface $context
private function normalizeAnalysis(AnalysisInterface $analysis, ContextInterface $context): AnalysisInterface
{
// TODO
return $analysis;
// silencing complexity analyser
return $context ? $analysis : $analysis;
}

private function normalizeOptions(array $options, ContextInterface $context): array
Expand Down

0 comments on commit 69714cb

Please sign in to comment.