chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

    #[ORM\Id]

Missing function doc comment
Open

    public function hasScore(): ?bool

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\Column(length: 255, nullable: true)]

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

    #[ORM\OneToOne(cascade: ['persist', 'remove'])]

Missing function doc comment
Open

    public function setRaw(?float $raw): static

Missing function doc comment
Open

    public function getMin(): ?float

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

    #[ORM\Column(nullable: true)]

Missing function doc comment
Open

    public function getScaled(): ?float

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\JoinColumn(referencedColumnName: 'identifier')]

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(nullable: true)]

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\Column(nullable: true)]

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, nullable: true)]

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

    public function setScaled(?float $scaled): static

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

class XApiResult

Missing function doc comment
Open

    public function getRaw(): ?float

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

    #[ORM\GeneratedValue]

Missing function doc comment
Open

    public function getIdentifier(): ?int

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

    public function setHasScore(bool $hasScore): static

Missing function doc comment
Open

    public function setScaled(?float $scaled): static

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

    public function setRaw(?float $raw): static

Missing function doc comment
Open

    public function setHasScore(bool $hasScore): static

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

    public function setMax(?float $max): static

Missing function doc comment
Open

    public function isCompletion(): ?bool

Missing function doc comment
Open

    public function getResponse(): ?string

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

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

Missing function doc comment
Open

    public function getMax(): ?float

Missing function doc comment
Open

    public function setSuccess(?bool $success): static

Missing function doc comment
Open

    public function setCompletion(?bool $completion): static

Missing function doc comment
Open

    public function setExtensions(?XApiExtensions $extensions): static

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

    public function setCompletion(?bool $completion): static

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

    #[ORM\Column(nullable: true)]

Missing function doc comment
Open

    public function setMax(?float $max): static

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

    public function setSuccess(?bool $success): static

Missing function doc comment
Open

    public function getExtensions(): ?XApiExtensions

Missing function doc comment
Open

    public function setMin(?float $min): static

Missing function doc comment
Open

    public function isSuccess(): ?bool

Missing function doc comment
Open

    public function setResponse(?string $response): static

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

    public function setExtensions(?XApiExtensions $extensions): static

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

    public function setResponse(?string $response): static

Missing function doc comment
Open

    public function setDuration(?string $duration): static

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

    public function setMin(?float $min): static

Missing function doc comment
Open

    public function getDuration(): ?string

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

    public function setDuration(?string $duration): static

There are no issues that match your filters.

Category
Status