fapi-cz/http-client

View on GitHub
src/Fapi/HttpClient/CapturingHttpClient.php

Summary

Maintainability
A
1 hr
Test Coverage

Method writeToPhpFile has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function writeToPhpFile(string $fileName, string $className): void
    {
        preg_match('#^(?:(.*)\\\\)?([^\\\\]+)\z#', $className, $match);
        [, $namespace, $className] = $match;

Severity: Minor
Found in src/Fapi/HttpClient/CapturingHttpClient.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status