chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

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

Missing function doc comment
Open

    public function removeAttachment(XApiAttachment $attachment): static

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\OneToOne(cascade: ['persist', 'remove'])]

Missing function doc comment
Open

    public function getVerb(): ?XApiVerb

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

    public function setHasAttachments(bool $hasAttachments): static

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

    public function setActor(?XApiObject $actor): static

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\OneToOne(cascade: ['persist', 'remove'])]

Missing function doc comment
Open

    public function setStored(?int $stored): static

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

    public function removeAttachment(XApiAttachment $attachment): static

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

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

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

    public function setCreated(?int $created): static

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

    public function setStored(?int $stored): static

Missing function doc comment
Open

    public function hasAttachments(): ?bool

Missing function doc comment
Open

    public function setActor(?XApiObject $actor): static

Missing function doc comment
Open

    public function setVerb(?XApiVerb $verb): static

Missing function doc comment
Open

    public function setAuthority(?XApiObject $authority): static

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

    public function setAuthority(?XApiObject $authority): static

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

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

Missing function doc comment
Open

    public function getCreated(): ?int

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

    public function setObject(?XApiObject $object): static

Missing function doc comment
Open

    public function getResult(): ?XApiResult

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

    #[ORM\Column]

Missing function doc comment
Open

    public function getAuthority(): ?XApiObject

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

    #[ORM\GeneratedValue(strategy: 'NONE')]

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 setVerb(?XApiVerb $verb): static

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

    public function setResult(?XApiResult $result): static

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

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

Missing function doc comment
Open

    public function setCreated(?int $created): static

Missing function doc comment
Open

    public function getStored(): ?int

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

    #[ORM\Id]

Missing function doc comment
Open

    public function setContext(?XApiContext $context): 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\OneToOne(cascade: ['persist', 'remove'])]

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

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

Missing function doc comment
Open

    public function __construct()

Missing function doc comment
Open

    public function addAttachment(XApiAttachment $attachment): static

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

class XApiStatement

Missing function doc comment
Open

    public function setHasAttachments(bool $hasAttachments): static

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

    public function addAttachment(XApiAttachment $attachment): static

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

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

Missing function doc comment
Open

    public function getActor(): ?XApiObject

Missing function doc comment
Open

    public function setResult(?XApiResult $result): static

Missing function doc comment
Open

    public function getContext(): ?XApiContext

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

    public function setContext(?XApiContext $context): static

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

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

Missing function doc comment
Open

    public function getId(): ?string

Missing function doc comment
Open

    public function getObject(): ?XApiObject

Missing function doc comment
Open

    public function setObject(?XApiObject $object): static

There are no issues that match your filters.

Category
Status