fatcode/http-server

View on GitHub
src/Server/Swoole/SwooleServerRequestFactory.php

Summary

Maintainability
A
1 hr
Test Coverage

Method createServerRequest has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function createServerRequest($input = null) : ServerRequestInterface
    {
        try {
            $body = (string) $input->rawContent();
        } catch (Throwable $throwable) {
Severity: Minor
Found in src/Server/Swoole/SwooleServerRequestFactory.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status