chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

    #[ORM\Column(name: 'title', type: 'string', length: 255, nullable: false)]

Missing function doc comment
Open

    public function __toString(): string

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

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

Missing function doc comment
Open

    public function setTitle(string $title): self

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

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

Missing function doc comment
Open

    public function setResourceName(string $name): self

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

#[ApiResource(normalizationContext: ['groups' => ['illustration:read']])]

Missing function doc comment
Open

    public function getId(): Uuid

Missing function doc comment
Open

    public function getResourceIdentifier(): Uuid

Missing function doc comment
Open

    public function __construct()

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

class Illustration extends AbstractResource implements ResourceInterface, Stringable

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

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

Missing function doc comment
Open

    public function getTitle(): string

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

    #[Assert\NotBlank]

Missing function doc comment
Open

    public function getResourceName(): string

Add a single space around assignment operators
Open

declare(strict_types=1);

There are no issues that match your filters.

Category
Status