GrafiteInc/Html

View on GitHub
src/Tags/Calendar.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method js has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function js()
    {
        $id = self::$id;
        $items = json_encode(self::$items);

Severity: Minor
Found in src/Tags/Calendar.php - About 1 hr to fix

    Method styles has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public static function styles()
        {
            return <<<CSS
                @media (prefers-color-scheme: light) {
                    :root {
    Severity: Minor
    Found in src/Tags/Calendar.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status