chamilo/chamilo-lms

View on GitHub
src/LtiBundle/Entity/Token.php

Summary

Maintainability
A
0 mins
Test Coverage

Missing function doc comment
Open

    public function setTool(ExternalTool $tool): static

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

#[ORM\Entity]

Missing function doc comment
Open

    public function getHash(): string

Missing function doc comment
Open

    public function setHash(string $hash): static

Missing function doc comment
Open

    public function generateHash(): static

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\Column(name: 'scope', type: 'json')]

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

    public function setScope(array $scope): static

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

    public function setExpiresAt(int $expiresAt): static

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

    #[ORM\Column(name: 'created_at', type: 'integer')]

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

    public function setHash(string $hash): static

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

    public function generateHash(): static

Missing function doc comment
Open

    public function getTool(): ExternalTool

Missing function doc comment
Open

    public function getScopeInString(): string

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

    #[ORM\Column(name: 'id', type: 'integer')]

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

    #[ORM\JoinColumn(name: 'tool_id', referencedColumnName: 'id', onDelete: 'CASCADE')]

Missing function doc comment
Open

    public function getScope(): array

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

    public function setTool(ExternalTool $tool): static

Missing function doc comment
Open

    public function getCreatedAt(): int

Missing function doc comment
Open

    public function setCreatedAt(int $createdAt): static

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

#[ORM\Table(name: 'lti_token')]

Missing function doc comment
Open

    public function setScope(array $scope): static

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\Column(name: 'expires_at', type: 'integer')]

Missing function doc comment
Open

    public function getId(): int

Missing function doc comment
Open

    public function setExpiresAt(int $expiresAt): 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\Column(name: 'hash', type: 'string')]

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

class Token

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

    #[ORM\ManyToOne(targetEntity: ExternalTool::class)]

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

    public function setCreatedAt(int $createdAt): static

Missing function doc comment
Open

    public function getExpiresAt(): int

There are no issues that match your filters.

Category
Status