chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

    #[ORM\Column(length: 255)]

Missing function doc comment
Open

    public function setLrsAuthPassword(?string $lrsAuthPassword): 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\ManyToOne]

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

    #[ORM\ManyToOne]

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

    public function setDescription(?string $description): static

Missing function doc comment
Open

    public function setAllowMultipleAttempts(bool $allowMultipleAttempts): static

Missing function doc comment
Open

    public function getLrsUrl(): ?string

Missing function doc comment
Open

    public function getCourse(): ?Course

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

    public function setCourse(?Course $course): static

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

    public function setActivityId(?string $activityId): static

Missing function doc comment
Open

    public function getActivityType(): ?string

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

    #[ORM\Id]

Missing function doc comment
Open

    public function setTitle(string $title): static

Missing function doc comment
Open

    public function getLrsAuthPassword(): ?string

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

    public function setLrsAuthPassword(?string $lrsAuthPassword): static

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

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

Missing function doc comment
Open

    public function getActivityId(): ?string

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

    public function setActivityType(?string $activityType): static

Missing function doc comment
Open

    public function getTitle(): ?string

Missing function doc comment
Open

    public function setActivityId(?string $activityId): static

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

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

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)]

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\OneToMany(mappedBy: 'tool', targetEntity: XApiCmi5Item::class)]

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

    public function setTitle(string $title): static

Missing function doc comment
Open

    public function getDescription(): ?string

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

    public function setLaunchUrl(string $launchUrl): static

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

class XApiToolLaunch

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

    public function setLrsUrl(?string $lrsUrl): static

Missing function doc comment
Open

    public function setLrsAuthUsername(?string $lrsAuthUsername): static

Missing function doc comment
Open

    public function setSession(?Session $session): static

Missing function doc comment
Open

    public function setActivityType(?string $activityType): static

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

    #[ORM\Column(type: Types::TEXT, nullable: true)]

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

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

Missing function doc comment
Open

    public function getLrsAuthUsername(): ?string

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

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

    #[ORM\JoinColumn(nullable: false)]

Missing function doc comment
Open

    public function getSession(): ?Session

Missing function doc comment
Open

    public function setLaunchUrl(string $launchUrl): static

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

    #[ORM\Column]

Missing function doc comment
Open

    public function getId(): ?int

Missing function doc comment
Open

    public function isAllowMultipleAttempts(): ?bool

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

    public function setLrsAuthUsername(?string $lrsAuthUsername): static

Missing function doc comment
Open

    public function setDescription(?string $description): static

Missing function doc comment
Open

    public function setLrsUrl(?string $lrsUrl): static

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

    #[ORM\GeneratedValue]

Missing function doc comment
Open

    public function setCourse(?Course $course): static

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

    public function setSession(?Session $session): static

Missing function doc comment
Open

    public function getLaunchUrl(): ?string

Missing function doc comment
Open

    public function __construct()

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

    public function setAllowMultipleAttempts(bool $allowMultipleAttempts): static

Missing function doc comment
Open

    public function addItem(XApiCmi5Item $item): static

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

    public function addItem(XApiCmi5Item $item): static

Missing function doc comment
Open

    public function removeItem(XApiCmi5Item $item): static

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

    public function removeItem(XApiCmi5Item $item): static

There are no issues that match your filters.

Category
Status