rtckit/php-sip

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

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Method hash has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

    public function hash(string $method, ?string $secret, ?string $hash = null, ?string $body = null): string
    {
        if (!isset($this->algorithm)) {
            $algo = self::DEFAULT_ALGORITHM;
        } else {
Severity: Minor
Found in src/Auth/Digest/ResponseParams.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status