src/CourseBundle/Entity/CSurveyQuestion.php
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
#[Assert\NotBlank]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'survey_question_comment', type: 'text', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'max_value', type: 'integer', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setType(string $type): self
- Exclude checks
Missing function doc comment Open
Open
public function setSurveyQuestionComment(string $surveyQuestionComment): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'survey_group_pri', type: 'integer', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function setSharedQuestionId(int $sharedQuestionId): self
- 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
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'parent_id', referencedColumnName: 'iid', onDelete: 'SET NULL')]
- 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
Member variable "surveyGroupSec1" contains numbers but this is discouraged Open
Open
protected int $surveyGroupSec1;
- Exclude checks
Missing function doc comment Open
Open
public function setSort(int $sort): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'survey_group_sec1', type: 'integer', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function setParent(self $parent): self
- Exclude checks
Missing function doc comment Open
Open
public function setOptions(Collection $options): self
- 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
Missing function doc comment Open
Open
public function setDisplay(string $display): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Entity(repositoryClass: CSurveyQuestionRepository::class)]
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class CSurveyQuestion
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'type', type: 'string', length: 250, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'survey_group_sec2', type: 'integer', nullable: false)]
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setSurveyGroupPri(int $surveyGroupPri): static
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
Missing function doc comment Open
Open
public function setSurveyQuestion(string $surveyQuestion): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'display', type: 'string', length: 10, nullable: false)]
- Exclude checks
Member variable "surveyGroupSec2" contains numbers but this is discouraged Open
Open
protected int $surveyGroupSec2;
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setSurveyGroupSec1(int $surveyGroupSec1): static
- Exclude checks
Missing function doc comment Open
Open
public function getParent(): ?self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'parent', targetEntity: self::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: CSurveyQuestionOption::class, cascade: ['remove'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'parent_option_id', referencedColumnName: 'iid')]
- Exclude checks
Missing function doc comment Open
Open
public function getSurveyQuestion(): string
- Exclude checks
Missing function doc comment Open
Open
public function setParentOption(CSurveyQuestionOption $parentOption): self
- 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\ManyToOne(targetEntity: self::class, inversedBy: 'children')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'is_required', type: 'boolean', options: ['default' => false])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'c_survey_question')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'question', targetEntity: CSurveyQuestionOption::class, cascade: ['remove'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'question', targetEntity: CSurveyAnswer::class, cascade: ['remove'])]
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
Missing function doc comment Open
Open
public function getParentOption(): ?CSurveyQuestionOption
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: CSurvey::class, inversedBy: 'questions')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'shared_question_id', type: 'integer', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\GeneratedValue]
- Exclude checks
Missing function doc comment Open
Open
public function setMaxValue(int $maxValue): self
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setSurveyGroupSec2(int $surveyGroupSec2): static
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'survey_question', type: 'text', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function getIid(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function isMandatory(): bool
- Exclude checks
Missing function doc comment Open
Open
public function setIsMandatory(bool $isMandatory): self
- Exclude checks
Missing function doc comment Open
Open
public function setChildren(Collection $children): self
- Exclude checks