src/CoreBundle/Entity/SkillRelUser.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\Table(name: 'skill_rel_user')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Index(columns: ['session_id', 'course_id', 'user_id'], name: 'idx_select_s_c_u')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'session_id', referencedColumnName: 'id', nullable: true, onDelete: 'CASCADE')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'argumentation_author_id', type: 'integer')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\EntityListeners([SkillRelUserListener::class])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'skill_id', referencedColumnName: 'id', nullable: false, onDelete: 'CASCADE')]
- 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(['skill_rel_user:read'])]
- 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 getSkill(): ?Skill
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'user_id', referencedColumnName: 'id', nullable: false, onDelete: 'CASCADE')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'acquired_level', referencedColumnName: 'id')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'acquired_skill_at', type: 'datetime', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: Session::class, cascade: ['persist'], inversedBy: 'issuedSkills')]
- Exclude checks
Missing function doc comment Open
Open
public function setCourse(Course $course): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: User::class, cascade: ['persist'], inversedBy: 'achievedSkills')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: Skill::class, cascade: ['persist'], inversedBy: 'issuedSkills')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: Course::class, cascade: ['persist'], inversedBy: 'issuedSkills')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'course_id', referencedColumnName: 'id', nullable: true, onDelete: 'CASCADE')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Index(columns: ['skill_id', 'user_id'], name: 'idx_select_sk_u')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: Level::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'assigned_by', type: 'integer', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function setSkill(Skill $skill): self
- Exclude checks
Missing function doc comment Open
Open
public function getCourse(): ?Course
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ApiFilter(SearchFilter::class, properties: ['user' => 'exact'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'id', type: 'integer')]
- 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
#[ApiResource(
- 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\Column(name: 'validation_status', type: 'integer')]
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- 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\OneToMany(
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class SkillRelUser
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Index(columns: ['course_id', 'session_id'], name: 'idx_select_cs')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'argumentation', type: 'text')]
- Exclude checks
Missing function doc comment Open
Open
public function getAssignedBy(): int
- Exclude checks
Missing function doc comment Open
Open
public function getAcquiredLevel(): ?Level
- Exclude checks
Missing function doc comment Open
Open
public function getSession(): ?Session
- Exclude checks
Missing function doc comment Open
Open
public function setAcquiredLevel(Level $acquiredLevel): self
- Exclude checks
Missing function doc comment Open
Open
public function setSession(Session $session): self
- Exclude checks
Missing function doc comment Open
Open
public function setAcquiredSkillAt(DateTime $acquiredSkillAt): self
- Exclude checks
Missing function doc comment Open
Open
public function getId(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function getComments(bool $sortDescByDateTime = false): Collection
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setValidationStatus(int $validationStatus): static
- Exclude checks
Missing function doc comment Open
Open
public function setArgumentation(string $argumentation): self
- Exclude checks
Missing function doc comment Open
Open
public function getAcquiredSkillAt(): DateTime
- Exclude checks
Missing function doc comment Open
Open
public function setAssignedBy(int $assignedBy): self
- Exclude checks
Missing function doc comment Open
Open
public function getArgumentation(): string
- Exclude checks
Missing function doc comment Open
Open
public function setValidationStatus(int $validationStatus): static
- Exclude checks
Missing function doc comment Open
Open
public function setArgumentationAuthorId(int $argumentationAuthorId): self
- Exclude checks
Missing function doc comment Open
Open
public function getValidationStatus(): int
- Exclude checks
Missing function doc comment Open
Open
public function getArgumentationAuthorId(): int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected string $argumentation;
- 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 at least 12 spaces, found 8 Open
Open
$this->validationStatus = 0;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->comments = new ArrayCollection();
- 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 User $user;
- 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
protected DateTime $acquiredSkillAt;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->acquiredLevel = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setCourse(Course $course): self
- 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
use UserTrait;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected int $validationStatus;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected int $argumentationAuthorId;
- 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->course;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function __construct()
- 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 Collection $comments;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setSkill(Skill $skill): self
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getSkill(): ?Skill
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getCourse(): ?Course
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?int $id = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?Course $course = null;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?Skill $skill = null;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->acquiredSkillAt = new 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->skill;
- 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 int $assignedBy;
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
Open
class SkillRelUser
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
protected ?Level $acquiredLevel = null;
- 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 8 spaces, found 4 Open
Open
protected ?Session $session = null;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->skill = $skill;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->course = $course;
- 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
$this->assignedBy = $assignedBy;
- 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
public function getSourceName(): string
- 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->validationStatus;
- 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->acquiredSkillAt = $acquiredSkillAt;
- 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
$average = $countValues > 0 ? $sum / $countValues : 0;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setSession(Session $session): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->argumentationAuthorId;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this;
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (null !== $this->session) {
- 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
$criteria->orderBy([
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
foreach ($this->comments as $comment) {
- 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 getAssignedBy(): int
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->acquiredLevel;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setArgumentation(string $argumentation): 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 getIssueUrlAll(): string
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$sum = 0;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return number_format($average, 2);
- 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 16 spaces, found 12 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 getValidationStatus(): int
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->argumentationAuthorId = $argumentationAuthorId;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getArgumentation(): string
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return api_get_path(WEB_PATH).\sprintf('badge/%s', $this->id);
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getAssertionUrl(): string
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
continue;
- 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
return $this;
- 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 at least 12 spaces, found 8 Open
Open
return $source;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getIssueUrl(): string
- 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
}
- 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 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
$source = '';
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$source .= $this->course->getTitle();
- 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
}
- 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 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if (null !== $this->course) {
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$sum += $comment->getFeedbackValue();
- 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->validationStatus = $validationStatus;
- 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 setAcquiredSkillAt(DateTime $acquiredSkillAt): 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
$this->acquiredLevel = $acquiredLevel;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
]);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->comments;
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
if (0 === $comment->getFeedbackValue()) {
- 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
$source .= \sprintf('[%s] ', $this->session->getTitle());
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
if ($sortDescByDateTime) {
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$criteria = Criteria::create();
- 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 setValidationStatus(int $validationStatus): static
- 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->acquiredSkillAt;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->argumentation;
- 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 getAcquiredSkillAt(): DateTime
- 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 at least 8 spaces, found 4 Open
Open
{
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getId(): ?int
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getAcquiredLevel(): ?Level
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$this->argumentation = $argumentation;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setArgumentationAuthorId(int $argumentationAuthorId): self
- 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 getArgumentationAuthorId(): int
- 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
}
- 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
$url = api_get_path(WEB_CODE_PATH).'skills/assertion.php?';
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $url.http_build_query([
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$countValues++;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function getComments(bool $sortDescByDateTime = false): Collection
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->assignedBy;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
public function setAcquiredLevel(Level $acquiredLevel): self
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 12 Open
Open
return $this->comments->matching($criteria);
- 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 12 spaces, found 8 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
$countValues = 0;
- 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 setAssignedBy(int $assignedBy): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return $this->id;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
return api_get_path(WEB_PATH).\sprintf('skill/%s/user/%s', $this->skill->getId(), $this->user->getId());
- 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 getAverage(): string
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
{
- Exclude checks