ffwagency/borgerdk-php

View on GitHub

Showing 1 of 1 total issue

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
    Severity
    Category
    Status
    Source
    Language