fisharebest/webtrees

View on GitHub
app/Services/HtmlService.php

Summary

Maintainability
A
1 hr
Test Coverage

Method sanitize has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function sanitize(string $html): string
    {
        $config = HTMLPurifier_Config::createDefault();

        $config->set('Cache.DefinitionImpl', null);
Severity: Minor
Found in app/Services/HtmlService.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status