src/CourseBundle/Entity/CSurveyQuestionOption.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\Column(name: 'sort', type: 'integer', nullable: false)]
- 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 setQuestion(CSurveyQuestion $question): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'question_id', referencedColumnName: 'iid', onDelete: 'SET NULL')]
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class CSurveyQuestionOption
- 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 __construct() {}
- 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\Entity]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: CSurvey::class, inversedBy: 'options')]
- 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
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Index(name: 'idx_survey_qo_qid', columns: ['question_id'])]
- 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: 'option_text', type: 'text', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function getQuestion(): CSurveyQuestion
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'c_survey_question_option')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'iid', type: 'integer')]
- Exclude checks
Missing function doc comment Open
Open
public function setSort(int $sort): self
- Exclude checks
Closing brace must be on a line by itself Open
Open
public function __construct() {}
- Exclude checks
Missing function doc comment Open
Open
public function setOptionText(string $optionText): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: CSurveyQuestion::class, inversedBy: 'options')]
- Exclude checks
Missing function doc comment Open
Open
public function getIid(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function getSurvey(): CSurvey
- Exclude checks
Missing function doc comment Open
Open
public function setSurvey(CSurvey $survey): self
- Exclude checks
Opening brace should be on a new line Open
Open
public function __construct() {}
- Exclude checks
Closing brace must be on a line by itself Open
Open
public function __construct() {}
- Exclude checks