chamilo/chamilo-lms

View on GitHub
src/CoreBundle/Entity/XApiInternalLog.php

Summary

Maintainability
A
0 mins
Test Coverage

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(nullable: true)]

Missing function doc comment
Open

    public function setUser(?User $user): static

Scope keyword "static" must be followed by a single space
Open

    public function setStatementId(string $statementId): static

Scope keyword "static" must be followed by a single space
Open

    public function setVerb(string $verb): static

Missing function doc comment
Open

    public function setScoreScaled(?float $scoreScaled): static

Scope keyword "static" must be followed by a single space
Open

    public function setScoreRaw(?float $scoreRaw): static

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\GeneratedValue]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Id]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(nullable: true)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(length: 255)]

Scope keyword "static" must be followed by a single space
Open

    public function setUser(?User $user): static

Missing function doc comment
Open

    public function setActivityDescription(string $activityDescription): static

Scope keyword "static" must be followed by a single space
Open

    public function setObjectId(string $objectId): static

You must use "/**" style comments for a class comment
Open

class XApiInternalLog

Missing function doc comment
Open

    public function getScoreMin(): ?float

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(nullable: true)]

Missing function doc comment
Open

    public function setCreatedAt(?DateTimeInterface $createdAt): static

Missing function doc comment
Open

    public function setStatementId(string $statementId): static

Missing function doc comment
Open

    public function getActivityName(): ?string

Missing function doc comment
Open

    public function getActivityDescription(): ?string

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(length: 255)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(length: 255)]

Missing function doc comment
Open

    public function getCreatedAt(): ?DateTimeInterface

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(nullable: true)]

Missing function doc comment
Open

    public function getUser(): ?User

Missing function doc comment
Open

    public function getVerb(): ?string

Missing function doc comment
Open

    public function getScoreScaled(): ?float

Missing function doc comment
Open

    public function setScoreMax(?float $scoreMax): static

Missing function doc comment
Open

    public function getId(): ?int

Missing function doc comment
Open

    public function setActivityName(?string $activityName): static

Scope keyword "static" must be followed by a single space
Open

    public function setScoreMin(?float $scoreMin): static

Scope keyword "static" must be followed by a single space
Open

    public function setScoreMax(?float $scoreMax): static

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\ManyToOne]

Missing function doc comment
Open

    public function getStatementId(): ?string

Missing function doc comment
Open

    public function getObjectId(): ?string

Missing function doc comment
Open

    public function setScoreMin(?float $scoreMin): static

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(length: 255)]

Scope keyword "static" must be followed by a single space
Open

    public function setActivityDescription(string $activityDescription): static

Scope keyword "static" must be followed by a single space
Open

    public function setScoreScaled(?float $scoreScaled): static

Missing function doc comment
Open

    public function getScoreRaw(): ?float

Missing function doc comment
Open

    public function setScoreRaw(?float $scoreRaw): static

Missing function doc comment
Open

    public function getScoreMax(): ?float

Scope keyword "static" must be followed by a single space
Open

    public function setCreatedAt(?DateTimeInterface $createdAt): static

Missing function doc comment
Open

    public function setVerb(string $verb): static

Missing function doc comment
Open

    public function setObjectId(string $objectId): static

Add a single space around assignment operators
Open

declare(strict_types=1);

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

#[ORM\Entity(repositoryClass: XApiInternalLogRepository::class)]

Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead.
Open

    #[ORM\Column(length: 255, nullable: true)]

Scope keyword "static" must be followed by a single space
Open

    public function setActivityName(?string $activityName): static

There are no issues that match your filters.

Category
Status