src/CourseBundle/Entity/CQuiz.php
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Entity(repositoryClass: CQuizRepository::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'type', type: 'integer', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'hide_attempts_table', type: 'boolean', nullable: false, options: ['default' => 0])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'quiz', targetEntity: CQuizRelQuestionCategory::class, cascade: ['persist'])]
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
Missing function doc comment Open
Open
public function getRandomAnswers(): bool
- Exclude checks
Missing function doc comment Open
Open
public function setResultsDisabled(int $resultsDisabled): self
- Exclude checks
Missing function doc comment Open
Open
public function getMaxAttempt(): int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'c_quiz')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'sound', type: 'string', length: 255, nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setRandom(int $random): 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 getFeedbackType(): int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'propagate_neg', type: 'integer', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'quiz_category_id', referencedColumnName: 'id', onDelete: 'SET NULL')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'display_chart_degree_certainty', type: 'integer', options: ['default' => 0])]
- Exclude checks
Missing function doc comment Open
Open
public function setSound(string $sound): self
- Exclude checks
Missing function doc comment Open
Open
public function getSound(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setActive(int $active): self
- Exclude checks
Missing function doc comment Open
Open
public function setFeedbackType(int $feedbackType): self
- Exclude checks
Missing function doc comment Open
Open
public function setSaveCorrectAnswers(int $saveCorrectAnswers): self
- Exclude checks
Missing function doc comment Open
Open
public function setQuizCategory(CQuizCategory $quizCategory): self
- 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\Column(name: 'pass_percentage', type: 'integer', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'quiz', targetEntity: TrackEExercise::class)]
- Exclude checks
Missing function doc comment Open
Open
public function getType(): int
- Exclude checks
Missing function doc comment Open
Open
public function setRandomByCategory(int $randomByCategory): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'expired_time', type: 'integer', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'not_display_balance_percentage_categorie_question', type: 'integer', options: ['default' => 0])]
- Exclude checks
Missing function doc comment Open
Open
public function setDisplayCategoryName(int $displayCategoryName): 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\Id]
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class CQuiz extends AbstractResource implements ResourceInterface, ResourceShowCourseResourcesInSessionInterface, Stringable
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['track_e_exercise:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'results_disabled', type: 'integer', nullable: false)]
- 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\Column(name: 'prevent_backwards', type: 'integer', nullable: false, options: ['default' => 0])]
- Exclude checks
Missing function doc comment Open
Open
public function setExpiredTime(int $expiredTime): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'random_answers', type: 'boolean', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'active', type: 'integer', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'hide_question_number', type: 'integer', nullable: false, options: ['default' => 0])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'quiz', targetEntity: CQuizRelQuestion::class, cascade: ['persist'], orphanRemoval: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setTitle(string $title): self
- Exclude checks
Missing function doc comment Open
Open
public function getTitle(): string
- Exclude checks
Missing function doc comment Open
Open
public function getQuizCategory(): ?CQuizCategory
- 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: 'text_when_finished_failure', type: 'text', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setEndTime(?DateTime $endTime): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'start_time', type: 'datetime', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'hide_question_title', type: 'boolean', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: CQuizCategory::class, cascade: ['persist'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'autolaunch', type: 'boolean', nullable: true, options: ['default' => 0])]
- Exclude checks
Missing function doc comment Open
Open
public function setRandomAnswers(bool $randomAnswers): self
- Exclude checks
Missing function doc comment Open
Open
public function getEndTime(): ?DateTime
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'max_attempt', type: 'integer', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'feedback_type', type: 'integer', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'show_previous_button', type: 'boolean', nullable: false, options: ['default' => 1])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'page_result_configuration', type: 'array')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'display_chart_degree_certainty_category', type: 'integer', options: ['default' => 0])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'gather_questions_categories', type: 'integer', options: ['default' => 0])]
- Exclude checks
Missing function doc comment Open
Open
public function setReviewAnswers(int $reviewAnswers): self
- Exclude checks
Missing function doc comment Open
Open
public function setHideQuestionTitle(bool $hideQuestionTitle): self
- Exclude checks
Missing function doc comment Open
Open
public function isHideAttemptsTable(): bool
- Exclude checks
Missing function doc comment Open
Open
public function getResourceIdentifier(): int|Uuid
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'review_answers', type: 'integer', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'random_by_category', type: 'integer', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function setType(int $type): self
- Exclude checks
Missing function doc comment Open
Open
public function setMaxAttempt(int $maxAttempt): self
- Exclude checks
Missing function doc comment Open
Open
public function getStartTime(): ?DateTime
- Exclude checks
Missing function doc comment Open
Open
public function getSaveCorrectAnswers(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function getPreventBackwards(): int
- Exclude checks
Missing function doc comment Open
Open
public function isAutoLaunch(): bool
- Exclude checks
Missing function doc comment Open
Open
public function setPageResultConfiguration(array $pageResultConfiguration): self
- Exclude checks
Missing function doc comment Open
Open
public function getDisplayChartDegreeCertainty(): int
- Exclude checks
Missing function doc comment Open
Open
public function setDisplayChartDegreeCertainty(int $displayChartDegreeCertainty): self
- Exclude checks
Missing function doc comment Open
Open
public function getHideQuestionNumber(): ?int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'end_time', type: 'datetime', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'save_correct_answers', type: 'integer', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'question_selection_type', type: 'integer', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'send_email_chart_degree_certainty', type: 'integer', options: ['default' => 0])]
- Exclude checks
Missing function doc comment Open
Open
public function setDescription(string $description): self
- Exclude checks
Missing function doc comment Open
Open
public function getActive(): int
- Exclude checks
Missing function doc comment Open
Open
public function setPreventBackwards(int $preventBackwards): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'display_category_name', type: 'integer', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'notifications', type: 'string', length: 255, nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function getAccessCondition(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setQuestionSelectionType(int $questionSelectionType): self
- Exclude checks
Missing function doc comment Open
Open
public function isShowPreviousButton(): bool
- Exclude checks
Missing function doc comment Open
Open
public function getPageResultConfiguration(): array
- Exclude checks
Missing function doc comment Open
Open
public function setSendEmailChartDegreeCertainty(int $sendEmailChartDegreeCertainty): self
- Exclude checks
Missing function doc comment Open
Open
public function getDisplayChartDegreeCertaintyCategory(): int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'description', type: 'text', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'random', type: 'integer', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'text_when_finished', type: 'text', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setPropagateNeg(int $propagateNeg): self
- Exclude checks
Missing function doc comment Open
Open
public function isHideQuestionTitle(): bool
- 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: 'duration', type: 'integer', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function __toString(): string
- Exclude checks
Missing function doc comment Open
Open
public function getResultsDisabled(): int
- Exclude checks
Missing function doc comment Open
Open
public function setStartTime(?DateTime $startTime): self
- Exclude checks
Missing function doc comment Open
Open
public function getExpiredTime(): int
- Exclude checks
Missing function doc comment Open
Open
public function setPassPercentage(int $passPercentage): self
- Exclude checks
Missing function doc comment Open
Open
public function getSendEmailChartDegreeCertainty(): int
- Exclude checks
Missing function doc comment Open
Open
public function getResourceName(): string
- Exclude checks
Missing function doc comment Open
Open
public function setDisplayChartDegreeCertaintyCategory(int $displayChartDegreeCertaintyCategory): self
- Exclude checks
Missing function doc comment Open
Open
public function setHideQuestionNumber(int $hideQuestionNumber): self
- Exclude checks
Missing function doc comment Open
Open
public function getIid(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setGatherQuestionsCategories(int $gatherQuestionsCategories): self
- Exclude checks
Missing function doc comment Open
Open
public function getQuestionSelectionType(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setNotifications(string $notifications): self
- Exclude checks
Missing function doc comment Open
Open
public function setHideAttemptsTable(bool $hideAttemptsTable): self
- Exclude checks
Missing function doc comment Open
Open
public function setResourceName(string $name): self
- Exclude checks
Missing function doc comment Open
Open
public function setShowPreviousButton(bool $showPreviousButton): self
- Exclude checks
Missing function doc comment Open
Open
public function setNotDisplayBalancePercentageCategorieQuestion(int $notDisplayBalancePercentageCategorieQuestion): self
- Exclude checks
Missing function doc comment Open
Open
public function setDuration(?int $duration): self
- Exclude checks
Missing function doc comment Open
Open
public function getDuration(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function getGatherQuestionsCategories(): int
- Exclude checks
Missing function doc comment Open
Open
public function getNotifications(): string
- Exclude checks
Missing function doc comment Open
Open
public function setAutoLaunch(bool $autoLaunch): self
- Exclude checks
Missing function doc comment Open
Open
public function getNotDisplayBalancePercentageCategorieQuestion(): int
- Exclude checks
Missing function doc comment Open
Open
public function getAutoLaunch(): ?bool
- Exclude checks