rtckit/php-sip

View on GitHub
src/Header/ViaHeader.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Method parse has 63 lines of code (exceeds 25 allowed). Consider refactoring.
Invalid

    public static function parse(array $hbody): ViaHeader
    {
        $ret = new static;

        foreach ($hbody as $hline) {
Severity: Major
Found in src/Header/ViaHeader.php - About 2 hrs to fix

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

        public function render(string $hname): string
        {
            $ret = "{$hname}: ";
            $delim = '';
    
    
    Severity: Minor
    Found in src/Header/ViaHeader.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status