bitpay/php-bitpay-client

View on GitHub
src/Bitpay/Config/Configuration.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method getConfigTreeBuilder has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getConfigTreeBuilder()
    {
        $treeBuilder = new TreeBuilder();
        $rootNode    = $treeBuilder->root('bitpay');
        $rootNode
Severity: Minor
Found in src/Bitpay/Config/Configuration.php - About 1 hr to fix

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

        protected function addKeyStorageNode()
        {
            $builder = new TreeBuilder();
            $node    = $builder->root('key_storage', 'scalar');
    
    
    Severity: Minor
    Found in src/Bitpay/Config/Configuration.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status