speedworks/speedy

View on GitHub

Showing 149 of 149 total issues

The method MakeLog is not named in camelCase.
Open

    public static function MakeLog($logdir, $filename, $logstr)
    {
        $logstr .= "\n";
        if(is_dir($logdir.date('Y')))
        {
Severity: Minor
Found in Core/Classes/System.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 Key is not named in camelCase.
Open

    public static function Key()
    {
        $auth = new Auth("KEY");
        return $auth;
    }
Severity: Minor
Found in Core/Middleware/Auth.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 DBD is not named in camelCase.
Open

    public static function DBD($inData, $die=false) //DEBUG AND DIE
    {
        if(is_array($inData))
        {
            echo "<pre><br/>\n";
Severity: Minor
Found in Core/Classes/System.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 Authorize is not named in camelCase.
Open

    public function Authorize($authType, $redirectTo=null)
    {
        $auth = new BaseAuth();
        if($authType == "session")
        {
Severity: Minor
Found in Core/Middleware/Auth.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 GiveResponse is not named in camelCase.
Open

    public static function GiveResponse($inData)
    {
        header('Content-Type: application/json');
        $outData=array('errStatus' =>0,
            'code'=>200,
Severity: Minor
Found in Core/Classes/System.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 ADO is not named in camelCase.
Open

    public static function ADO()
    {
        $db = ADONewConnection($_ENV['DB_ADO_DRIVER']);
        $db->connect($_ENV['DB_SERVER'], $_ENV['DB_USER'], $_ENV['DB_PASSWORD'], $_ENV['DB_NAME']);
        return $db;
Severity: Minor
Found in Core/Classes/DB.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 GenerateSecret is not named in camelCase.
Open

    public static function GenerateSecret($digestString)
    {
        $digestString.='|'.$_ENV['app_key'].'|'.microtime(true);
        $hash = hash_hmac('crc32b', $digestString, microtime(true), false);
        return $hash;
Severity: Minor
Found in Core/Classes/System.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 GenerateAPIKey is not named in camelCase.
Open

    public static function GenerateAPIKey($digestString)
    {
        $digestString.='|'.$_ENV['app_key'].'|'.microtime(true);
        $hash = hash_hmac('sha1', $digestString, microtime(true), false);
        return $hash;
Severity: Minor
Found in Core/Classes/System.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 GiveJSON is not named in camelCase.
Open

    public static function GiveJSON($inData)
    {
        header('Content-Type: application/json');
        $outData=json_encode($inData);
        echo $outData;
Severity: Minor
Found in Core/Classes/System.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