AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

The method getTable has a boolean flag argument $format, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function getTable($format = true)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method addWhere has a boolean flag argument $join, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function addWhere($column, $value = null, $operator = null, $conj = null, $group = null, $join = false)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method getGroupBy has a boolean flag argument $dbReady, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function getGroupBy($dbReady = false)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method getSourceTable has a boolean flag argument $use_as, which is a certain sign of a Single Responsibility Principle violation.
Open

    private function getSourceTable($use_as = true)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method getColumn has a boolean flag argument $format, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function getColumn($format = false)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method setIndexBy has a boolean flag argument $force_array, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function setIndexBy($indexby, $force_array = false, $ignore_dups = false)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method insert has a boolean flag argument $auto_index, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function insert($auto_index = true)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method addColumn has a boolean flag argument $count, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function addColumn($column, $max_min = null, $as = null, $count = false, $distinct = false, $coalesce = null)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method addColumn has a boolean flag argument $distinct, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function addColumn($column, $max_min = null, $as = null, $count = false, $distinct = false, $coalesce = null)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method setDistinct has a boolean flag argument $distinct, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function setDistinct($distinct = true)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method getLimit has a boolean flag argument $dbReady, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function getLimit($dbReady = false)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method setIndexBy has a boolean flag argument $ignore_dups, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function setIndexBy($indexby, $force_array = false, $ignore_dups = false)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method getOrder has a boolean flag argument $dbReady, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function getOrder($dbReady = false)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method update has a boolean flag argument $return_affected, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function update($return_affected = false)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method _indexBy has a boolean flag argument $colMode, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function _indexBy($sql, $indexby, $colMode = false)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method dropTable has a boolean flag argument $check_existence, which is a certain sign of a Single Responsibility Principle violation.
Open

    public static function dropTable($table, $check_existence = true, $sequence_table = true)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method importFile has a boolean flag argument $report_errors, which is a certain sign of a Single Responsibility Principle violation.
Open

    public static function importFile($filename, $report_errors = true)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method import has a boolean flag argument $report_errors, which is a certain sign of a Single Responsibility Principle violation.
Open

    public static function import($text, $report_errors = true)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method createTableIndex has a boolean flag argument $unique, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function createTableIndex($column, $name = null, $unique = false)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method addTableColumn has a boolean flag argument $indexed, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function addTableColumn($column, $parameter, $after = null, $indexed = false)
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

Severity
Category
Status
Source
Language