chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

Missing function doc comment
Open

    public function getPrivateKey(): string

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

    #[ORM\Column(name: 'kid', type: 'string')]

Missing function doc comment
Open

    public function getKid(): string

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

    #[ORM\Column(name: 'public_key', type: 'text')]

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

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

Missing function doc comment
Open

    public function getId(): int

Missing function doc comment
Open

    public function setKid(string $kid): 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 setPrivateKey(string $privateKey): static

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

class Platform

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

#[ORM\Entity]

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

    #[ORM\GeneratedValue]

Missing function doc comment
Open

    public function setId(int $id): static

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

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

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 setId(int $id): static

Missing function doc comment
Open

    public function setPrivateKey(string $privateKey): static

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

    #[ORM\Column(name: 'private_key', type: 'text')]

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

    public function setKid(string $kid): static

There are no issues that match your filters.

Category
Status