src/controller/Honeypot.php
The parameter $honey_time is not named in camelCase. Open
Open
public function generate($honey_name, $honey_time): string
{
// Encrypt the current time
$honey_time_encrypted = $this->getEncryptedTime();
return '<div id="' . $honey_name . '_wrap" style="display:none;">' . "\r\n" .
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $honey_name is not named in camelCase. Open
Open
public function generate($honey_name, $honey_time): string
{
// Encrypt the current time
$honey_time_encrypted = $this->getEncryptedTime();
return '<div id="' . $honey_name . '_wrap" style="display:none;">' . "\r\n" .
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The variable $honey_name is not named in camelCase. Open
Open
public function generate($honey_name, $honey_time): string
{
// Encrypt the current time
$honey_time_encrypted = $this->getEncryptedTime();
return '<div id="' . $honey_name . '_wrap" style="display:none;">' . "\r\n" .
- Read upRead up
- Exclude checks
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 $honey_time_encrypted is not named in camelCase. Open
Open
public function generate($honey_name, $honey_time): string
{
// Encrypt the current time
$honey_time_encrypted = $this->getEncryptedTime();
return '<div id="' . $honey_name . '_wrap" style="display:none;">' . "\r\n" .
- Read upRead up
- Exclude checks
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 $honey_name is not named in camelCase. Open
Open
public function generate($honey_name, $honey_time): string
{
// Encrypt the current time
$honey_time_encrypted = $this->getEncryptedTime();
return '<div id="' . $honey_name . '_wrap" style="display:none;">' . "\r\n" .
- Read upRead up
- Exclude checks
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 $honey_name is not named in camelCase. Open
Open
public function generate($honey_name, $honey_time): string
{
// Encrypt the current time
$honey_time_encrypted = $this->getEncryptedTime();
return '<div id="' . $honey_name . '_wrap" style="display:none;">' . "\r\n" .
- Read upRead up
- Exclude checks
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 $honey_time is not named in camelCase. Open
Open
public function generate($honey_name, $honey_time): string
{
// Encrypt the current time
$honey_time_encrypted = $this->getEncryptedTime();
return '<div id="' . $honey_name . '_wrap" style="display:none;">' . "\r\n" .
- Read upRead up
- Exclude checks
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 $honey_time_encrypted is not named in camelCase. Open
Open
public function generate($honey_name, $honey_time): string
{
// Encrypt the current time
$honey_time_encrypted = $this->getEncryptedTime();
return '<div id="' . $honey_name . '_wrap" style="display:none;">' . "\r\n" .
- Read upRead up
- Exclude checks
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();
}
}