CORE-POS/Common-Bundle

View on GitHub

Showing 1,039 of 1,039 total issues

The variable $col_name is not named in camelCase.
Open

    private function normalizeColumnAttributes($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK)
    {
        $current = $this->connection->detailedDefinition($this->name);
        $recase_columns = array();
        $redo_pk = false;
Severity: Minor
Found in src/BasicModel.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 $col_name is not named in camelCase.
Open

    private function normalizeRename($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK)
    {
        $current = $this->connection->detailedDefinition($this->name);
        $recase_columns = array();
        foreach ($this->columns as $col_name => $definition) {
Severity: Minor
Found in src/BasicModel.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 $col_name is not named in camelCase.
Open

    private function normalizeRename($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK)
    {
        $current = $this->connection->detailedDefinition($this->name);
        $recase_columns = array();
        foreach ($this->columns as $col_name => $definition) {
Severity: Minor
Found in src/BasicModel.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 $http_encoding is not named in camelCase.
Open

    public static function get($sql_flavor, $http_encoding)
    {
        $sql_flavor = strtolower($sql_flavor);
        $http_encoding = strtolower($http_encoding);
        foreach (self::$MAP as $flavor => $submap) {
Severity: Minor
Found in src/sql/CharSets.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 $http_encoding is not named in camelCase.
Open

    public static function get($sql_flavor, $http_encoding)
    {
        $sql_flavor = strtolower($sql_flavor);
        $http_encoding = strtolower($http_encoding);
        foreach (self::$MAP as $flavor => $submap) {
Severity: Minor
Found in src/sql/CharSets.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 method get_footer is not named in camelCase.
Open

    protected function get_footer()
    {
        return $this->getFooter();
    }
Severity: Minor
Found in src/ui/CorePage.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method body_content is not named in camelCase.
Open

    public function body_content()
    {

    }
Severity: Minor
Found in src/ui/CorePage.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method get_header is not named in camelCase.
Open

    protected function get_header()
    {
        return $this->getHeader();
    }
Severity: Minor
Found in src/ui/CorePage.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method add_script is not named in camelCase.
Open

    protected function add_script($file_url,$type="text/javascript")
    {
        $this->addScript($file_url, $type);
    }
Severity: Minor
Found in src/ui/CorePage.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method draw_page is not named in camelCase.
Open

    public function draw_page()
    {
        $this->drawPage();
    }
Severity: Minor
Found in src/ui/CorePage.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method javascript_content is not named in camelCase.
Open

    protected function javascript_content()
    {
    }
Severity: Minor
Found in src/ui/CorePage.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method has_menus is not named in camelCase.
Open

    protected function has_menus($menus)
    {
        $this->hasMenus($menus);
    }
Severity: Minor
Found in src/ui/CorePage.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method css_content is not named in camelCase.
Open

    protected function css_content()
    {
    }
Severity: Minor
Found in src/ui/CorePage.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method add_onload_command is not named in camelCase.
Open

    protected function add_onload_command($str)
    {
        $this->onload_commands[] = $str;    
    }
Severity: Minor
Found in src/ui/CorePage.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method add_css_file is not named in camelCase.
Open

    protected function add_css_file($file_url)
    {
        $this->css_files[] = $file_url;
    }
Severity: Minor
Found in src/ui/CorePage.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method fetch_array is not named in camelCase.
Open

    public function fetch_array($result_object,$which_connection='')
    {
        return $this->fetchArray($result_object, $which_connection);
    }
Severity: Minor
Found in src/SQLManager.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method num_rows is not named in camelCase.
Open

    public function num_rows($result_object,$which_connection='')
    {
        return $this->numRows($result_object, $which_connection);
    }
Severity: Minor
Found in src/SQLManager.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method fetch_row is not named in camelCase.
Open

    public function fetch_row($result_object,$which_connection='')
    {
        return $this->fetchArray($result_object,$which_connection);
    }
Severity: Minor
Found in src/SQLManager.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method table_exists is not named in camelCase.
Open

    public function table_exists($table_name,$which_connection='')
    {
        return $this->tableExists($table_name, $which_connection);
    }
Severity: Minor
Found in src/SQLManager.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

Severity
Category
Status
Source
Language