chrisandchris/passive-record-orm

View on GitHub
src/ChrisAndChris/Common/RowMapperBundle/Services/Pdo/PdoLayer.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method getDsn has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function getDsn($system, $host, $port, $database, $username, $password)
Severity: Minor
Found in src/ChrisAndChris/Common/RowMapperBundle/Services/Pdo/PdoLayer.php - About 45 mins to fix

    Method __construct has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        function __construct($system, $host, $port = null, $name = null, $user = null, $password = null)
    Severity: Minor
    Found in src/ChrisAndChris/Common/RowMapperBundle/Services/Pdo/PdoLayer.php - About 45 mins to fix

      Method getPgDsn has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          private function getPgDsn($host, $port, $database, $username, $password)
      Severity: Minor
      Found in src/ChrisAndChris/Common/RowMapperBundle/Services/Pdo/PdoLayer.php - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status