src/Statistics/Repositories/Entities/ParticipantQuizEntity.php
The property $quiz_uuid is not named in camelCase. Open
Open
class ParticipantQuizEntity
{
/**
* @var string
* @ORM\Id()
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The parameter $quiz_uuid is not named in camelCase. Open
Open
public function __construct(string $email, string $quiz_uuid)
{
$this->email = $email;
$this->quiz_uuid = $quiz_uuid;
}
- 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 closing brace for the class must go on the next line after the body Open
Open
}
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
The variable $quiz_uuid is not named in camelCase. Open
Open
public function __construct(string $email, string $quiz_uuid)
{
$this->email = $email;
$this->quiz_uuid = $quiz_uuid;
}
- 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();
}
}