Showing 149 of 149 total issues
The method MakeLog is not named in camelCase. Open
Open
public static function MakeLog($logdir, $filename, $logstr)
{
$logstr .= "\n";
if(is_dir($logdir.date('Y')))
{
- Read upRead up
- Exclude checks
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
Open
public static function Key()
{
$auth = new Auth("KEY");
return $auth;
}
- Read upRead up
- Exclude checks
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
Open
public static function DBD($inData, $die=false) //DEBUG AND DIE
{
if(is_array($inData))
{
echo "<pre><br/>\n";
- Read upRead up
- Exclude checks
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
Open
public function Authorize($authType, $redirectTo=null)
{
$auth = new BaseAuth();
if($authType == "session")
{
- Read upRead up
- Exclude checks
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
Open
public static function GiveResponse($inData)
{
header('Content-Type: application/json');
$outData=array('errStatus' =>0,
'code'=>200,
- Read upRead up
- Exclude checks
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
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;
- Read upRead up
- Exclude checks
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
Open
public static function GenerateSecret($digestString)
{
$digestString.='|'.$_ENV['app_key'].'|'.microtime(true);
$hash = hash_hmac('crc32b', $digestString, microtime(true), false);
return $hash;
- Read upRead up
- Exclude checks
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
Open
public static function GenerateAPIKey($digestString)
{
$digestString.='|'.$_ENV['app_key'].'|'.microtime(true);
$hash = hash_hmac('sha1', $digestString, microtime(true), false);
return $hash;
- Read upRead up
- Exclude checks
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
Open
public static function GiveJSON($inData)
{
header('Content-Type: application/json');
$outData=json_encode($inData);
echo $outData;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}