fapi-cz/php-client

View on GitHub

Showing 2 of 2 total issues

FapiClient has 21 functions (exceeds 20 allowed). Consider refactoring.
Open

class FapiClient implements IFapiClient
{

    private FapiRestClient $restClient;

Severity: Minor
Found in src/Fapi/FapiClient/FapiClient.php - About 2 hrs to fix

    Method loadConfiguration has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function loadConfiguration(): void
        {
            $container = $this->getContainerBuilder();
            $config = $this->validateConfig($this->defaults);
    
    
    Severity: Minor
    Found in src/Fapi/FapiClient/DI/FapiClientExtension.php - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language