darylldoyle/svg-sanitizer

View on GitHub
src/data/AllowedAttributes.php

Summary

Maintainability
D
2 days
Test Coverage
A
100%

Method getAttributes has 329 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function getAttributes()
    {
        return array(
            // HTML
            'about',
Severity: Major
Found in src/data/AllowedAttributes.php - About 1 day to fix

    File AllowedAttributes.php has 337 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    namespace enshrined\svgSanitize\data;
    
    /**
     * Class AllowedAttributes
    Severity: Minor
    Found in src/data/AllowedAttributes.php - About 4 hrs to fix

      There are no issues that match your filters.

      Category
      Status