APO-Epsilon/apo-website

View on GitHub

Showing 11,898 of 11,898 total issues

The variable $event_name is not named in camelCase.
Open

function show_active() {
    include('mysql_access.php');
    $user_id = $_SESSION['sessionID'];    
    $aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
    $aresult=mysqli_fetch_array($aresponse);
Severity: Minor
Found in create_event_done.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 $SQL is not named in camelCase.
Open

function show_active() {
    include('mysql_access.php');
    $user_id = $_SESSION['sessionID'];    
    $aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
    $aresult=mysqli_fetch_array($aresponse);
Severity: Minor
Found in create_event_done.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 $event_id is not named in camelCase.
Open

function show_active() {
    include('mysql_access.php');
    $user_id = $_SESSION['sessionID'];    
    $aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
    $aresult=mysqli_fetch_array($aresponse);
Severity: Minor
Found in create_event_done.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 $event_id is not named in camelCase.
Open

function show_active() {
    include('mysql_access.php');
    $user_id = $_SESSION['sessionID'];    
    $aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
    $aresult=mysqli_fetch_array($aresponse);
Severity: Minor
Found in create_event_done.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 $event_description is not named in camelCase.
Open

function show_active() {
    include('mysql_access.php');
    $user_id = $_SESSION['sessionID'];    
    $aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
    $aresult=mysqli_fetch_array($aresponse);
Severity: Minor
Found in create_event_done.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 $event_place is not named in camelCase.
Open

function show_active() {
    include('mysql_access.php');
    $user_id = $_SESSION['sessionID'];    
    $aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
    $aresult=mysqli_fetch_array($aresponse);
Severity: Minor
Found in create_event_done.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 $L_val is not named in camelCase.
Open

function show_active() {
    include('mysql_access.php');
    $user_id = $_SESSION['sessionID'];    
    $aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
    $aresult=mysqli_fetch_array($aresponse);
Severity: Minor
Found in create_event_done.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 $detail_id is not named in camelCase.
Open

function recorded_hours(){
  include('mysql_access.php');
  global $current_semester;
  //this is shit code. could be written in OOP.
  // not shit code INVENTIVE code.
Severity: Minor
Found in service_hours_logger.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 $event_description is not named in camelCase.
Open

function show_active() {
    include('mysql_access.php');
    $user_id = $_SESSION['sessionID'];    
    $aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
    $aresult=mysqli_fetch_array($aresponse);
Severity: Minor
Found in create_event_done.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 $service_type is not named in camelCase.
Open

function show_active() {
    include('mysql_access.php');
    $user_id = $_SESSION['sessionID'];    
    $aresponse=$db->query("SELECT status FROM contact_information WHERE id=$user_id");
    $aresult=mysqli_fetch_array($aresponse);
Severity: Minor
Found in create_event_done.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 gensalt_extended is not named in camelCase.
Open

function gensalt_extended($input)
{
  $count_log2 = min($this->iteration_count_log2 + 8, 24);
    # This should be odd to not reveal weak DES keys, and the
    # maximum valid value is (2**24 - 1) which is odd anyway.
Severity: Minor
Found in PasswordHash.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 gensalt_blowfish is not named in camelCase.
Open

function gensalt_blowfish($input)
{
    # This one needs to use a different order of characters and a
    # different encoding scheme from the one in encode64() above.
    # We care because the last character in our encoded string will
Severity: Minor
Found in PasswordHash.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 gensalt_private is not named in camelCase.
Open

function gensalt_private($input)
{
  $output = '$P$';
  $output .= $this->itoa64[min($this->iteration_count_log2 +
    ((PHP_VERSION >= '5') ? 5 : 3), 30)];
Severity: Minor
Found in PasswordHash.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 HashPassword is not named in camelCase.
Open

function HashPassword($password)
{
  $random = '';

  if (CRYPT_BLOWFISH == 1 && !$this->portable_hashes) {
Severity: Minor
Found in PasswordHash.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 PasswordHash is not named in camelCase.
Open

  function PasswordHash($iteration_count_log2, $portable_hashes)
  {
    $this->itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';

    if ($iteration_count_log2 < 4 || $iteration_count_log2 > 31)
Severity: Minor
Found in PasswordHash.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 crypt_private is not named in camelCase.
Open

function crypt_private($password, $setting)
{
  $output = '*0';
  if (substr($setting, 0, 2) == $output)
    $output = '*1';
Severity: Minor
Found in PasswordHash.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_random_bytes is not named in camelCase.
Open

  function get_random_bytes($count)
  {
    $output = '';
    if (is_readable('/dev/urandom') &&
      ($fh = @fopen('/dev/urandom', 'rb'))) {
Severity: Minor
Found in PasswordHash.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 CheckPassword is not named in camelCase.
Open

function CheckPassword($password, $stored_hash)
{
  $hash = $this->crypt_private($password, $stored_hash);
  if ($hash[0] == '*')
    $hash = crypt($password, $stored_hash);
Severity: Minor
Found in PasswordHash.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