pagseguro/pagseguro-php-sdk

View on GitHub
source/Services/Checkout/Payment.php

Summary

Maintainability
A
1 hr
Test Coverage

Method checkout has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function checkout(Credentials $credentials, \PagSeguro\Domains\Requests\Payment $payment, $onlyCode)
    {
        Logger::info("Begin", ['service' => 'Checkout']);
        try {
            $connection = new Connection\Data($credentials);
Severity: Minor
Found in source/Services/Checkout/Payment.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status