rtckit/php-sip

View on GitHub
src/Auth/Digest/AbstractParams.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Method parse has 117 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

    public static function parse(string $input): ParamsInterface
    {
        $orig = $input;
        $params = new static;
        $challenge = static::class === ChallengeParams::class;
Severity: Major
Found in src/Auth/Digest/AbstractParams.php - About 4 hrs to fix

    Method render has 47 lines of code (exceeds 25 allowed). Consider refactoring.
    Wontfix

        public function render(): string
        {
            $params = [];
    
            if (isset($this->realm)) {
    Severity: Minor
    Found in src/Auth/Digest/AbstractParams.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status