RebelCode/migrations

View on GitHub

Showing 2 of 15 total issues

Method getVersion has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getVersion()
    {
        $result     = [];
        $versionCol = $this->_getLogTableVersionColumn();
        $statusCol  = $this->_getLogTableStatusColumn();
Severity: Minor
Found in src/AbstractDatabase.php - About 1 hr to fix

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

            $message = null,
            $code = null,
            RootException $previous = null,
            $migrator = null,
            $migrationVersion = null
    Severity: Minor
    Found in src/Exception/CouldNotMigrateException.php - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language