chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

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

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

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

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

Missing function doc comment
Open

    public function getRegistration(): ?string

Missing function doc comment
Open

    public function getPlatform(): ?string

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

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

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

Missing function doc comment
Open

    public function getInstructor(): ?XApiObject

Missing function doc comment
Open

    public function removeGroupingActivity(XApiObject $groupingActivity): static

Missing function doc comment
Open

    public function removeOtherActivity(XApiObject $otherActivity): static

Missing function doc comment
Open

    public function getIdentifier(): ?int

Missing function doc comment
Open

    public function setRegistration(?string $registration): static

Missing function doc comment
Open

    public function getRevision(): ?string

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

    public function setLanguage(?string $language): 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 addParentActivity(XApiObject $parentActivity): static

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

    #[ORM\OneToMany(mappedBy: 'parentContext', targetEntity: XApiObject::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 setInstructor(?XApiObject $instructor): static

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

    public function setTeam(?XApiObject $team): static

Missing function doc comment
Open

    public function __construct()

Missing function doc comment
Open

    public function hasContextActivities(): ?bool

Missing function doc comment
Open

    public function setLanguage(?string $language): static

Missing function doc comment
Open

    public function getStatement(): ?string

Missing function doc comment
Open

    public function setStatement(?string $statement): static

Missing function doc comment
Open

    public function getTeam(): ?XApiObject

Missing function doc comment
Open

    public function setHasContextActivities(?bool $hasContextActivities): static

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

    public function addGroupingActivity(XApiObject $groupingActivity): static

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

    public function setRevision(?string $revision): static

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

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

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

    public function setRegistration(?string $registration): static

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

    public function setPlatform(?string $platform): static

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

    public function setStatement(?string $statement): static

Missing function doc comment
Open

    public function getExtensions(): ?XApiExtensions

Missing function doc comment
Open

    public function removeParentActivity(XApiObject $parentActivity): static

Missing function doc comment
Open

    public function addCategoryActivity(XApiObject $categoryActivity): static

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

    public function addOtherActivity(XApiObject $otherActivity): static

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

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

    #[ORM\JoinColumn(referencedColumnName: 'identifier')]

Missing function doc comment
Open

    public function setExtensions(?XApiExtensions $extensions): static

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

    public function addParentActivity(XApiObject $parentActivity): static

Add a single space around assignment operators
Open

declare(strict_types=1);

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

    public function removeGroupingActivity(XApiObject $groupingActivity): static

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: 'otherContext', targetEntity: XApiObject::class)]

Missing function doc comment
Open

    public function addOtherActivity(XApiObject $otherActivity): static

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

    public function setHasContextActivities(?bool $hasContextActivities): static

Missing function doc comment
Open

    public function setRevision(?string $revision): static

Missing function doc comment
Open

    public function setPlatform(?string $platform): static

Missing function doc comment
Open

    public function setInstructor(?XApiObject $instructor): static

Missing function doc comment
Open

    public function setTeam(?XApiObject $team): static

Missing function doc comment
Open

    public function removeCategoryActivity(XApiObject $categoryActivity): static

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

    public function removeOtherActivity(XApiObject $otherActivity): static

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

class XApiContext

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

Missing function doc comment
Open

    public function getLanguage(): ?string

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

    public function setExtensions(?XApiExtensions $extensions): static

Missing function doc comment
Open

    public function addGroupingActivity(XApiObject $groupingActivity): static

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

    #[ORM\Id]

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

    public function removeParentActivity(XApiObject $parentActivity): static

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

    public function addCategoryActivity(XApiObject $categoryActivity): static

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

    public function removeCategoryActivity(XApiObject $categoryActivity): static

There are no issues that match your filters.

Category
Status