src/CourseBundle/Entity/CSurveyAnswer.php
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\Table(name: 'c_survey_answer')]
- Exclude checks
Missing function doc comment Open
Open
public function setQuestion(CSurveyQuestion $question): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: CSurvey::class)]
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
Missing function doc comment Open
Open
public function getSurvey(): CSurvey
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class CSurveyAnswer
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'user', type: 'string', length: 250, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'survey_id', referencedColumnName: 'iid', onDelete: 'CASCADE')]
- Exclude checks
Missing function doc comment Open
Open
public function setOptionId(string $optionId): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'question_id', referencedColumnName: 'iid')]
- Exclude checks
Missing function doc comment Open
Open
public function getSessionId(): ?int
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setSessionId(?int $sessionId = null): static
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Entity]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'iid', type: 'integer')]
- 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\ManyToOne(targetEntity: CSurveyQuestion::class, inversedBy: 'answers')]
- Exclude checks
Missing function doc comment Open
Open
public function setSurvey(CSurvey $survey): self
- Exclude checks
Missing function doc comment Open
Open
public function getOptionId(): string
- Exclude checks
Missing function doc comment Open
Open
public function getIid(): ?int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'c_lp_item_id', type: 'integer', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function setValue(int $value): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'value', type: 'integer', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function getQuestion(): CSurveyQuestion
- Exclude checks
Missing function doc comment Open
Open
public function setUser(string $user): self
- Exclude checks
Missing function doc comment Open
Open
public function setSessionId(?int $sessionId = null): static
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Id]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'option_id', type: 'text', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'session_id', type: 'integer', nullable: true)]
- Exclude checks