modxcms/revolution

View on GitHub
setup/includes/config/modrevolutionconfigreader.class.php

Summary

Maintainability
A
1 hr
Test Coverage

Method read has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function read(array $config = array()) {
        global $database_dsn, $database_type, $database_server, $dbase, $database_user, $database_password,
               $database_connection_charset, $table_prefix, $config_options, $driver_options;
        $database_connection_charset = 'utf8';

Severity: Minor
Found in setup/includes/config/modrevolutionconfigreader.class.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status