src/CoreBundle/Entity/TrackEExercise.php
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: 'orig_lp_item_view_id', type: 'integer', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotNull]
- 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
#[Groups(['track_e_exercise:read'])]
- 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
#[Assert\NotNull]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'track_e_exercises')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Index(columns: ['exe_user_id'], name: 'idx_tee_user_id')]
- 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
#[ApiFilter(
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'score', type: 'float', precision: 6, scale: 2, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotNull]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'start_date', type: 'datetime', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotNull]
- 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\OneToMany(mappedBy: 'trackExercise', targetEntity: TrackEAttemptQualify::class, orphanRemoval: true)]
- 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\ManyToOne(targetEntity: Session::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'status', type: 'string', length: 20, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'orig_lp_id', type: 'integer', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'exe_duration', type: 'integer', nullable: false)]
- 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\JoinColumn(name: 'exe_exo_id', referencedColumnName: 'iid', nullable: true, onDelete: 'SET NULL')]
- 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: 'steps_counter', type: 'smallint', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function setStepsCounter(int $stepsCounter): self
- Exclude checks
Missing function doc comment Open
Open
public function getOrigLpItemId(): int
- Exclude checks
Missing function doc comment Open
Open
public function setExeDuration(int $exeDuration): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ApiFilter(
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['track_e_exercise:read'])]
- Exclude checks
Missing function doc comment Open
Open
public function setDataTracking(string $dataTracking): self
- Exclude checks
Missing function doc comment Open
Open
public function setStartDate(DateTime $startDate): 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
#[Groups(['track_e_exercise:read'])]
- 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
#[Assert\NotNull]
- Exclude checks
Missing function doc comment Open
Open
public function getUserIp(): string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'exe_id', type: 'integer')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'session_id', referencedColumnName: 'id', onDelete: 'CASCADE')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'max_score', type: 'float', precision: 6, scale: 2, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'data_tracking', type: 'text', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
Missing function doc comment Open
Open
public function getExpiredTimeControl(): ?DateTime
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Index(columns: ['c_id'], name: 'idx_tee_c_id')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ApiFilter(
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['track_e_exercise:read'])]
- Exclude checks
Missing function doc comment Open
Open
public function getQuiz(): ?CQuiz
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: User::class, cascade: ['persist'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'exe_date', type: 'datetime', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotNull]
- 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
#[Groups(['track_e_exercise:read'])]
- Exclude checks
Missing function doc comment Open
Open
public function setExeDate(DateTime $exeDate): self
- Exclude checks
Missing function doc comment Open
Open
public function getDataTracking(): string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'user_ip', type: 'string', length: 45, nullable: false)]
- 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
#[Groups(['track_e_exercise:read'])]
- 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: 'questions_to_check', type: 'text', nullable: false)]
- 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\OneToMany(mappedBy: 'trackExercise', targetEntity: TrackEAttempt::class, cascade: ['persist'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['track_e_exercise:read'])]
- Exclude checks
Missing function doc comment Open
Open
public function getExeDate(): DateTime
- Exclude checks
Missing function doc comment Open
Open
public function getStatus(): string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Index(columns: ['session_id'], name: 'session_id')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotNull]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'c_id', referencedColumnName: 'id', nullable: false, onDelete: 'CASCADE')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: CQuiz::class, inversedBy: 'attempts')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['track_e_exercise:read'])]
- Exclude checks
Missing function doc comment Open
Open
public function setUserIp(string $userIp): self
- Exclude checks
Missing function doc comment Open
Open
public function getStartDate(): DateTime
- Exclude checks
Missing class doc comment Open
Open
class TrackEExercise
- 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
#[Groups(['track_e_exercise:read'])]
- Exclude checks
Missing function doc comment Open
Open
public function getStepsCounter(): int
- Exclude checks
Missing function doc comment Open
Open
public function getExeDuration(): int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'exe_user_id', referencedColumnName: 'id', nullable: false, onDelete: 'CASCADE')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'orig_lp_item_id', type: 'integer', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'expired_time_control', type: 'datetime', nullable: true)]
- 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: 'blocked_categories', type: 'text', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setOrigLpItemId(int $origLpItemId): self
- 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\ManyToOne(targetEntity: Course::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotNull]
- Exclude checks
Missing function doc comment Open
Open
public function setOrigLpId(int $origLpId): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ApiResource(
- 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
#[Assert\NotNull]
- Exclude checks
Missing function doc comment Open
Open
public function getOrigLpItemViewId(): int
- Exclude checks
Missing function doc comment Open
Open
public function getExeId(): int
- Exclude checks
Missing function doc comment Open
Open
public function getScore(): float
- Exclude checks
Missing function doc comment Open
Open
public function getMaxScore(): float
- Exclude checks
Missing function doc comment Open
Open
public function getCourse(): Course
- Exclude checks
Missing function doc comment Open
Open
public function setStatus(string $status): self
- Exclude checks
Missing function doc comment Open
Open
public function setCourse(Course $course): self
- Exclude checks
Missing function doc comment Open
Open
public function getOrigLpId(): int
- Exclude checks
Missing function doc comment Open
Open
public function getQuestionsToCheck(): string
- Exclude checks
Missing function doc comment Open
Open
public function setExpiredTimeControl(?DateTime $expiredTimeControl): self
- Exclude checks
Missing function doc comment Open
Open
public function setMaxScore(float $maxScore): self
- Exclude checks
Missing function doc comment Open
Open
public function getAttemptByQuestionId(int $questionId): ?TrackEAttempt
- Exclude checks
Missing function doc comment Open
Open
public function setQuiz(CQuiz $cQuiz): self
- Exclude checks
Missing function doc comment Open
Open
public function setOrigLpItemViewId(int $origLpItemViewId): self
- Exclude checks
Missing function doc comment Open
Open
public function getSession(): ?Session
- Exclude checks
Missing function doc comment Open
Open
public function addRevisedAttempt(TrackEAttemptQualify $revisedAttempt): static
- Exclude checks
Missing function doc comment Open
Open
public function getUser(): User
- Exclude checks
You must use "/**" style comments for a function comment Open
Open
public function isRevised(): bool
- Exclude checks
Missing function doc comment Open
Open
public function addAttempt(TrackEAttempt $attempt): self
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function addRevisedAttempt(TrackEAttemptQualify $revisedAttempt): static
- Exclude checks
Missing function doc comment Open
Open
public function setScore(float $score): self
- Exclude checks
Missing function doc comment Open
Open
public function setUser(User $user): self
- Exclude checks
Missing function doc comment Open
Open
public function setSession(?Session $session): self
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function removeRevisedAttempt(TrackEAttemptQualify $revisedAttempt): static
- Exclude checks
Missing function doc comment Open
Open
public function setQuestionsToCheck(string $questionsToCheck): self
- Exclude checks
Missing function doc comment Open
Open
public function removeRevisedAttempt(TrackEAttemptQualify $revisedAttempt): static
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['track_e_exercise:read'])]
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Course $course;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->stepsCounter = 0;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
private Collection $revisedAttempts;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected float $score;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected int $origLpId;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->revisedAttempts = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->startDate = new DateTime();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->userIp = $userIp;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->stepsCounter;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->origLpItemId = $origLpItemId;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setExpiredTimeControl(?DateTime $expiredTimeControl): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->origLpItemViewId;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
use UserExtraFieldFilterTrait;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected int $origLpItemId;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected Collection $attempts;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->exeDate = $exeDate;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getQuiz(): ?CQuiz
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setUserIp(string $userIp): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->status = $status;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setDataTracking(string $dataTracking): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->origLpItemId;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 0 Open
Open
)]
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 0 Open
Open
)]
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->dataTracking = '';
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 0 Open
Open
)]
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?string $blockedCategories;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->status;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->questionsToCheck = '';
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->status = 'incomplete';
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->dataTracking;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getStartDate(): DateTime
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->startDate;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
Open
class TrackEExercise
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected DateTime $exeDate;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setOrigLpItemViewId(int $origLpItemViewId): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected string $dataTracking;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected DateTime $startDate;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected int $stepsCounter;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->score = 0;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->userIp;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->dataTracking = $dataTracking;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getExpiredTimeControl(): ?DateTime
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?Session $session = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function __construct()
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->stepsCounter = $stepsCounter;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->origLpId = $origLpId;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setExeDuration(int $exeDuration): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->expiredTimeControl = $expiredTimeControl;
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 0 Open
Open
)]
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?CQuiz $quiz = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected string $status;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected int $exeDuration;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected int $origLpItemViewId;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->startDate = $startDate;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setOrigLpItemId(int $origLpItemId): self
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 0 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?DateTime $expiredTimeControl = null;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->exeDate = new DateTime();
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setOrigLpId(int $origLpId): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getExeDuration(): int
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->exeDuration;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->expiredTimeControl;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getOrigLpItemViewId(): int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected int $exeId;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected User $user;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected float $maxScore;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->attempts = new ArrayCollection();
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->exeDate;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setQuiz(CQuiz $cQuiz): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setStepsCounter(int $stepsCounter): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getOrigLpId(): int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected string $userIp;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected string $questionsToCheck;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->blockedCategories = '';
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->exeDuration = 0;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->user;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getAttempts(): Collection
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setAttempts(Collection $attempts): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getQuestionsToCheck(): string
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->attempts = $attempts;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return null;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->revisedAttempts;
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$revisedAttempt->setTrackExercise($this);
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->score = $score;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->course;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$criteria = Criteria::create();
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
return $attempt;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
if ($revisedAttempt->getTrackExercise() === $this) {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getAttemptByQuestionId(int $questionId): ?TrackEAttempt
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (!$this->revisedAttempts->contains($revisedAttempt)) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setQuestionsToCheck(string $questionsToCheck): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->score;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getMaxScore(): float
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setCourse(Course $course): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setSession(?Session $session): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function isRevised(): bool
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->quiz = $cQuiz;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getDataTracking(): string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setStartDate(DateTime $startDate): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function addAttempt(TrackEAttempt $attempt): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
$revisedAttempt->setTrackExercise(null);
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->origLpItemViewId = $origLpItemViewId;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->course = $course;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getExeDate(): DateTime
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->quiz;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getUserIp(): string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setExeDate(DateTime $exeDate): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setStatus(string $status): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getOrigLpItemId(): int
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->exeDuration = $exeDuration;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getStepsCounter(): int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->origLpId;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setMaxScore(float $maxScore): self
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$this->revisedAttempts->add($revisedAttempt);
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (!$this->attempts->contains($attempt)) {
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getRevisedAttempts(): Collection
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getStatus(): string
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->exeId;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->attempts;
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$attempt->setTrackEExercise($this);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function addRevisedAttempt(TrackEAttemptQualify $revisedAttempt): static
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->questionsToCheck;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getScore(): float
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->maxScore = $maxScore;
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$criteria->where(Criteria::expr()->eq('questionId', $questionId))->setMaxResults(1);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->questionsToCheck = $questionsToCheck;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getExeId(): int
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (!empty($attempt)) {
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getUser(): User
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setUser(User $user): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->user = $user;
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$this->attempts[] = $attempt;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function removeRevisedAttempt(TrackEAttemptQualify $revisedAttempt): static
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setScore(float $score): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->maxScore;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getCourse(): Course
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getSession(): ?Session
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->session;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->session = $session;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$attempt = $this->attempts->matching($criteria)->first();
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if ($this->revisedAttempts->removeElement($revisedAttempt)) {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->revisedAttempts->count() > 0;
- Exclude checks