VSVverkeerskunde/gvq-api

View on GitHub
src/Statistics/Repositories/Entities/ParticipantQuizEntity.php

Summary

Maintainability
A
0 mins
Test Coverage

The property $quiz_uuid is not named in camelCase.
Open

class ParticipantQuizEntity
{
    /**
     * @var string
     * @ORM\Id()

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

    public function __construct(string $email, string $quiz_uuid)
    {
        $this->email = $email;
        $this->quiz_uuid = $quiz_uuid;
    }

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

}

Expected 1 newline at end of file; 0 found
Open

}

The variable $quiz_uuid is not named in camelCase.
Open

    public function __construct(string $email, string $quiz_uuid)
    {
        $this->email = $email;
        $this->quiz_uuid = $quiz_uuid;
    }

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

There are no issues that match your filters.

Category
Status