src/CourseBundle/Entity/CSurvey.php
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'invite_mail', type: 'text', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\TreeParent]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'visible_results', type: 'integer', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function getLang(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setAvailFrom(?DateTime $availFrom = null): self
- Exclude checks
Missing function doc comment Open
Open
public function getFormFields(): string
- 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: 'mail_subject', type: 'string', length: 255, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\TreeLevel]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'survey', targetEntity: CSurveyQuestion::class, cascade: ['remove'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'survey', targetEntity: CSurveyInvitation::class, cascade: ['remove'])]
- Exclude checks
Missing function doc comment Open
Open
public function getIsShared(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getSurveyType(): int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'code', type: 'string', length: 40, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'lvl', type: 'integer', unique: false, nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function getSubtitle(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getAvailTill(): ?DateTime
- Exclude checks
Missing function doc comment Open
Open
public function getCreationDate(): DateTime
- Exclude checks
Missing function doc comment Open
Open
public function getAnswered(): int
- Exclude checks
Missing function doc comment Open
Open
public function setReminderMail(string $reminderMail): self
- Exclude checks
Missing function doc comment Open
Open
public function getShuffle(): bool
- Exclude checks
Missing function doc comment Open
Open
public function setFormFields(string $formFields): self
- Exclude checks
Missing function doc comment Open
Open
public function setLvl(?int $lvl): self
- 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: 'surveythanks', type: 'text', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'anonymous', type: 'string', length: 10, nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function getMailSubject(): string
- Exclude checks
Missing function doc comment Open
Open
public function setSurveyType(int $surveyType): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Entity(repositoryClass: CSurveyRepository::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'lft', type: 'integer', unique: false, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\TreeRight]
- Exclude checks
Missing function doc comment Open
Open
public function __toString(): string
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setDisplayQuestionNumber(bool $displayQuestionNumber): static
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Index(columns: ['code'], name: 'idx_survey_code')]
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class CSurvey extends AbstractResource implements ResourceInterface, ResourceShowCourseResourcesInSessionInterface, Stringable
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'title', type: 'text', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'survey', targetEntity: CSurveyQuestionOption::class, cascade: ['remove'])]
- Exclude checks
Missing function doc comment Open
Open
public function setSurveyVersion(string $surveyVersion): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'survey_version', type: 'string', length: 255, nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function setLang(string $lang): self
- Exclude checks
Missing function doc comment Open
Open
public function setShowFormProfile(int $showFormProfile): self
- Exclude checks
Missing function doc comment Open
Open
public function getLvl(): ?int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\Tree(type: 'nested')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'show_form_profile', type: 'integer', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function getCode(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setAvailTill(?DateTime $availTill = null): self
- Exclude checks
Missing function doc comment Open
Open
public function getReminderMail(): string
- Exclude checks
Missing function doc comment Open
Open
public function getOneQuestionPerPage(): bool
- Exclude checks
Missing function doc comment Open
Open
public function setVisibleResults(int $visibleResults): self
- Exclude checks
Missing function doc comment Open
Open
public function setQuestions(Collection $questions): self
- Exclude checks
Missing function doc comment Open
Open
public function getResourceIdentifier(): int|Uuid
- Exclude checks
Missing function doc comment Open
Open
public function setDuration(?int $duration): self
- 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: 'answered', type: 'integer', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'form_fields', type: 'text', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'duration', type: 'integer', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function getTitle(): string
- Exclude checks
Missing function doc comment Open
Open
public function setMailSubject(string $mailSubject): self
- Exclude checks
Missing function doc comment Open
Open
public function getAnonymous(): string
- Exclude checks
Missing function doc comment Open
Open
public function setOneQuestionPerPage(bool $oneQuestionPerPage): self
- Exclude checks
Missing function doc comment Open
Open
public function getRgt(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setResourceName(string $name): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'is_shared', type: 'string', length: 1, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'creation_date', type: 'datetime', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'reminder_mail', type: 'text', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'surveyParent', targetEntity: self::class)]
- Exclude checks
Missing function doc comment Open
Open
public function getAvailFrom(): ?DateTime
- Exclude checks
Missing function doc comment Open
Open
public function getSurveythanks(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setCreationDate(DateTime $creationDate): self
- Exclude checks
Missing function doc comment Open
Open
public function isDisplayQuestionNumber(): bool
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'access_condition', type: 'text', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'parent_id', referencedColumnName: 'iid', onDelete: 'CASCADE')]
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
Missing function doc comment Open
Open
public function setTemplate(string $template): self
- Exclude checks
Missing function doc comment Open
Open
public function getSurveyVersion(): string
- Exclude checks
Missing function doc comment Open
Open
public function getSurveyParent(): ?self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'avail_from', type: 'datetime', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\TreeLeft]
- Exclude checks
Missing function doc comment Open
Open
public function setIntro(string $intro): self
- Exclude checks
Missing function doc comment Open
Open
public function setAnswered(int $answered): self
- Exclude checks
Missing function doc comment Open
Open
public function setAccessCondition(string $accessCondition): self
- Exclude checks
Missing function doc comment Open
Open
public function isMandatory(): bool
- Exclude checks
Missing function doc comment Open
Open
public function getDuration(): ?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: 'lang', type: 'string', length: 20, nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setInvited(int $invited): self
- Exclude checks
Missing function doc comment Open
Open
public function getAccessCondition(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setIsMandatory(bool $isMandatory): self
- Exclude checks
Missing function doc comment Open
Open
public function setLft(?int $lft): 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\Column(name: 'iid', type: 'integer')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'template', type: 'string', length: 20, nullable: true)]
- 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: 'one_question_per_page', type: 'boolean', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'display_question_number', type: 'boolean', options: ['default' => true])]
- Exclude checks
Missing function doc comment Open
Open
public function setCode(string $code): self
- Exclude checks
Missing function doc comment Open
Open
public function setSubtitle(string $subtitle): self
- Exclude checks
Missing function doc comment Open
Open
public function getInviteMail(): string
- Exclude checks
Missing function doc comment Open
Open
public function setInviteMail(string $inviteMail): self
- Exclude checks
Missing function doc comment Open
Open
public function setAnonymous(string $anonymous): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'c_survey')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'intro', type: 'text', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'shuffle', type: 'boolean', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'rgt', type: 'integer', unique: false, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'survey_type', type: 'integer', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function setIsShared(string $isShared): self
- Exclude checks
Missing function doc comment Open
Open
public function getTemplate(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setSurveythanks(string $surveythanks): self
- Exclude checks
Missing function doc comment Open
Open
public function setShuffle(bool $shuffle): self
- Exclude checks
Missing function doc comment Open
Open
public function getShowFormProfile(): int
- Exclude checks
Missing function doc comment Open
Open
public function getVisibleResults(): ?int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'subtitle', type: 'text', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'avail_till', type: 'datetime', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'invited', type: 'integer', nullable: false)]
- 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\OrderBy(['sort' => 'ASC'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'is_mandatory', type: 'boolean', options: ['default' => false])]
- Exclude checks
Missing function doc comment Open
Open
public function setTitle(string $title): self
- Exclude checks
Missing function doc comment Open
Open
public function getIntro(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getInvited(): int
- Exclude checks
Missing function doc comment Open
Open
public function getLft(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setRgt(?int $rgt): self
- Exclude checks
Missing function doc comment Open
Open
public function getResourceName(): string
- Exclude checks
Missing function doc comment Open
Open
public function setSurveyParent(?self $surveyParent): self
- Exclude checks
Missing function doc comment Open
Open
public function setDisplayQuestionNumber(bool $displayQuestionNumber): static
- Exclude checks
Missing function doc comment Open
Open
public function getIid(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setOptions(Collection $options): self
- Exclude checks
Missing function doc comment Open
Open
public function setInvitations(Collection $invitations): self
- Exclude checks