rtckit/php-sip

View on GitHub
src/StreamParser.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Method process has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Invalid

    public function process(string $chunk, ?array &$messages): int
    {
        if (!isset($this->buffer[0])) {
            $this->buffer = ltrim($chunk);

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

    There are no issues that match your filters.

    Category
    Status