ffwagency/borgerdk-php

View on GitHub
src/BorgerDk/ArticleService/Resources/ArticleAbstract.php

Summary

Maintainability
A
1 hr
Test Coverage

Method formatSingleArticle has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function formatSingleArticle($article)
    {
        $data = new \stdClass();
        $html = utf8_decode($article->Content);
        $crawler = new Crawler($html);
Severity: Minor
Found in src/BorgerDk/ArticleService/Resources/ArticleAbstract.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status