TikiWiki/tiki-manager

View on GitHub

Showing 2,235 of 2,235 total issues

The variable $num_rows is not named in camelCase.
Open

function _mysqldump_table_data($table)
{
    $sql = "select COUNT(*) from `$table`;";
    $result = query($sql);
    $num_rows = fetch_row($result);
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $mysqli_db_link is not named in camelCase.
Open

    function num_fields($result)
    {
        global $mysqli_db_link;
        return mysqli_num_fields($result);
    }
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $num_rows is not named in camelCase.
Open

function _mysqldump_table_data($table)
{
    $sql = "select COUNT(*) from `$table`;";
    $result = query($sql);
    $num_rows = fetch_row($result);
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $output_length is not named in camelCase.
Open

function _mysqldump_table_data($table)
{
    $sql = "select COUNT(*) from `$table`;";
    $result = query($sql);
    $num_rows = fetch_row($result);
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $output_length is not named in camelCase.
Open

function _mysqldump_table_data($table)
{
    $sql = "select COUNT(*) from `$table`;";
    $result = query($sql);
    $num_rows = fetch_row($result);
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $mysqli_db_link is not named in camelCase.
Open

    function connect($host, $user, $pass)
    {
        global $mysqli_db_link;
        return $mysqli_db_link = mysqli_connect($host, $user, $pass);
    }
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $mysqli_db_link is not named in camelCase.
Open

    function connect($host, $user, $pass)
    {
        global $mysqli_db_link;
        return $mysqli_db_link = mysqli_connect($host, $user, $pass);
    }
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $mysqli_db_link is not named in camelCase.
Open

    function unbuffered_query($sql)
    {
        global $mysqli_db_link;
        mysqli_real_query($mysqli_db_link, $sql);
        return mysqli_use_result($mysqli_db_link);
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $mysqli_db_link is not named in camelCase.
Open

    function unbuffered_query($sql)
    {
        global $mysqli_db_link;
        mysqli_real_query($mysqli_db_link, $sql);
        return mysqli_use_result($mysqli_db_link);
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $mysql_database is not named in camelCase.
Open

function _mysqldump($mysql_database)
{
    $sql = 'show tables;';
    $result = query($sql);
    if ($result) {
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $mysql_host is not named in camelCase.
Open

function _mysql_test($mysql_host, $mysql_database, $mysql_username, $mysql_password)
{
    $link = connect($mysql_host, $mysql_username, $mysql_password);
    if ($link) {
        $db_selected = select_db($mysql_database, $link);
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $svn_name is not named in camelCase.
Open

    public function getSVNPath()
    {
        $host = $this->getHost();

        if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
Severity: Minor
Found in src/Access/Local.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $num_rows is not named in camelCase.
Open

function _mysqldump_table_data($table)
{
    $sql = "select COUNT(*) from `$table`;";
    $result = query($sql);
    $num_rows = fetch_row($result);
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $num_fields is not named in camelCase.
Open

function _mysqldump_table_data($table)
{
    $sql = "select COUNT(*) from `$table`;";
    $result = query($sql);
    $num_rows = fetch_row($result);
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $field_type is not named in camelCase.
Open

function _mysqldump_table_data($table)
{
    $sql = "select COUNT(*) from `$table`;";
    $result = query($sql);
    $num_rows = fetch_row($result);
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $mysqli_db_link is not named in camelCase.
Open

    function query($sql)
    {
        global $mysqli_db_link;
        return mysqli_query($mysqli_db_link, $sql);
    }
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $mysqli_db_link is not named in camelCase.
Open

    function query($sql)
    {
        global $mysqli_db_link;
        return mysqli_query($mysqli_db_link, $sql);
    }
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $mysqli_db_link is not named in camelCase.
Open

    function unbuffered_query($sql)
    {
        global $mysqli_db_link;
        mysqli_real_query($mysqli_db_link, $sql);
        return mysqli_use_result($mysqli_db_link);
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $num_fields is not named in camelCase.
Open

function _mysqldump_table_data($table)
{
    $sql = "select COUNT(*) from `$table`;";
    $result = query($sql);
    $num_rows = fetch_row($result);
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $mysql_username is not named in camelCase.
Open

function _mysql_test($mysql_host, $mysql_database, $mysql_username, $mysql_password)
{
    $link = connect($mysql_host, $mysql_username, $mysql_password);
    if ($link) {
        $db_selected = select_db($mysql_database, $link);
Severity: Minor
Found in scripts/tiki/mysqldump.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

Severity
Category
Status
Source
Language