src/CourseBundle/Entity/CQuizAnswer.php
You must use "/**" style comments for a class comment Open
Open
class CQuizAnswer
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'answer_code', type: 'string', length: 10, nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setComment(string $comment): self
- Exclude checks
Missing function doc comment Open
Open
public function getPonderation(): float
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: CQuizQuestion::class, cascade: ['persist'], inversedBy: 'answers')]
- Exclude checks
Missing function doc comment Open
Open
public function setCorrect(int $correct): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'question_id', referencedColumnName: 'iid', onDelete: 'CASCADE')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'comment', type: 'text', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'destination', type: 'text', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotBlank]
- Exclude checks
Missing function doc comment Open
Open
public function setPonderation(float|string $weight): self
- Exclude checks
Missing function doc comment Open
Open
public function getHotspotCoordinates(): ?string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'correct', type: 'integer', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function getQuestion(): CQuizQuestion
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'c_quiz_answer')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Entity]
- Exclude checks
Missing function doc comment Open
Open
public function setDestination(?string $destination): self
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Id]
- Exclude checks
Missing function doc comment Open
Open
public function getCorrect(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setHotspotType(?string $hotspotType): self
- Exclude checks
Missing function doc comment Open
Open
public function setQuestion(CQuizQuestion $question): self
- Exclude checks
Missing function doc comment Open
Open
public function setAnswer(string $answer): self
- Exclude checks
Missing function doc comment Open
Open
public function getAnswer(): string
- Exclude checks
Missing function doc comment Open
Open
public function getHotspotType(): ?string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'hotspot_type', type: 'string', length: 40, nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function getComment(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setAnswerCode(string $answerCode): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Index(columns: ['question_id'], name: 'idx_cqa_q')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotBlank]
- Exclude checks
Missing function doc comment Open
Open
public function getDestination(): ?string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'position', type: 'integer', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function getPosition(): int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\GeneratedValue]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'ponderation', type: 'float', precision: 6, scale: 2, nullable: false, options: ['default' => 0])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'hotspot_coordinates', type: 'text', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'answer', type: 'text', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
Missing function doc comment Open
Open
public function setPosition(int $position): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'iid', type: 'integer', options: ['unsigned' => true])]
- Exclude checks
Missing function doc comment Open
Open
public function setHotspotCoordinates(?string $hotspotCoordinates): self
- Exclude checks