chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

    #[ORM\Column]

Missing function doc comment
Open

    public function getActivityId(): ?string

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

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

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

class XApiActivityProfile

Missing function doc comment
Open

    public function getId(): ?int

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

    public function setProfileId(string $profileId): static

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

    public function setDocumentData(array $documentData): static

Missing function doc comment
Open

    public function getProfileId(): ?string

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 setActivityId(string $activityId): static

Missing function doc comment
Open

    public function setProfileId(string $profileId): static

Missing function doc comment
Open

    public function getDocumentData(): array

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

Missing function doc comment
Open

    public function setDocumentData(array $documentData): 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\Id]

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

    #[ORM\GeneratedValue]

Missing function doc comment
Open

    public function setActivityId(string $activityId): static

There are no issues that match your filters.

Category
Status