AppStateESS/InternshipInventory

View on GitHub

Showing 6,675 of 6,675 total issues

Avoid using undefined variables such as '$coalesce' which will lead to PHP notices.
Open

                            $table_name = sprintf('coalesce(distinct(%s.%s), %s)', $table, $name, $coalesce);
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$distinct' which will lead to PHP notices.
Open

                        if ($distinct) {
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$columns' which will lead to PHP notices.
Open

                        $columns[] = "$table_name";
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$sql_array' which will lead to PHP notices.
Open

        $sql_array['table'] = & $table;
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$sql_array' which will lead to PHP notices.
Open

        $sql_array['order'] = & $order;
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$name' which will lead to PHP notices.
Open

                            $table_name = sprintf('count(distinct(%s.%s))', $table, $name);
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$columns' which will lead to PHP notices.
Open

                        $columns[] = "$table_name AS $as";
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$sql_array' which will lead to PHP notices.
Open

        $sql_array['columns'] = & $columns;
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$distinct' which will lead to PHP notices.
Open

                        if ($distinct) {
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$name' which will lead to PHP notices.
Open

                            $table_name = sprintf('distinct(%s.%s)', $table, $name);
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$name' which will lead to PHP notices.
Open

                                $table_name = "$table.$name";
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$limit' which will lead to PHP notices.
Open

        $sql = "SELECT $columns FROM $table $where $group_by $order $limit";
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$parameters' which will lead to PHP notices.
Open

            $parameters[] = $column . ' ' . $value;
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$table' which will lead to PHP notices.
Open

        $sql = "SELECT $columns FROM $table $where $group_by $order $limit";
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$parameters' which will lead to PHP notices.
Open

        $sql = "CREATE TABLE $table ( " . implode(', ', $parameters) . ' )';
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$to' which will lead to PHP notices.
Open

            $to[] = 'text';
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$format' which will lead to PHP notices.
Open

                return preg_replace('/\(+.*$/', '', str_replace('`', '', $format[3]));
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$format' which will lead to PHP notices.
Open

                    return preg_replace('/\(+.*$/', '', str_replace('`', '', $format[1]));
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$subsql' which will lead to PHP notices.
Open

                $subsql[] = $v;
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$subsql' which will lead to PHP notices.
Open

        $sql = implode('\'', $subsql);
Severity: Minor
Found in class/SubselectDatabase.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Severity
Category
Status
Source
Language