wikimedia/mediawiki-core

View on GitHub
includes/libs/rdbms/database/IDatabase.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method insertSelect has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

        $destTable,
        $srcTable,
        $varMap,
        $conds,
        $fname = __METHOD__,
Severity: Major
Found in includes/libs/rdbms/database/IDatabase.php - About 1 hr to fix

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

            $delTable,
            $joinTable,
            $delVar,
            $joinVar,
            $conds,
    Severity: Minor
    Found in includes/libs/rdbms/database/IDatabase.php - About 45 mins to fix

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

          public function update( $table, $set, $conds, $fname = __METHOD__, $options = [] );
      Severity: Minor
      Found in includes/libs/rdbms/database/IDatabase.php - About 35 mins to fix

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

                $table, array $rows, $uniqueKeys, array $set, $fname = __METHOD__
        Severity: Minor
        Found in includes/libs/rdbms/database/IDatabase.php - About 35 mins to fix

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

                  $table, $conds = '', $fname = __METHOD__, $options = [], $join_conds = []
          Severity: Minor
          Found in includes/libs/rdbms/database/IDatabase.php - About 35 mins to fix

            There are no issues that match your filters.

            Category
            Status