chamilo/chamilo-lms

View on GitHub
src/CourseBundle/Entity/CThematic.php

Summary

Maintainability
A
0 mins
Test Coverage

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

class CThematic extends AbstractResource implements ResourceInterface, Stringable

Missing function doc comment
Open

    public function getContent(): ?string

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

    #[Assert\NotBlank]

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

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

Missing function doc comment
Open

    public function setContent(string $content): self

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

    #[ORM\OrderBy(['startDate' => 'ASC'])]

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

    #[ORM\OneToMany(mappedBy: 'thematic', targetEntity: CThematicPlan::class, cascade: ['persist', 'remove'], orphanRemoval: true)]

Missing function doc comment
Open

    public function getResourceName(): string

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

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

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

    #[ORM\Id]

Missing function doc comment
Open

    public function __construct()

Missing function doc comment
Open

    public function setResourceName(string $name): self

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\OneToMany(mappedBy: 'thematic', targetEntity: CThematicAdvance::class, cascade: ['persist', 'remove'], orphanRemoval: true)]

Missing function doc comment
Open

    public function getResourceIdentifier(): int|Uuid

Missing function doc comment
Open

    public function __toString(): string

Missing function doc comment
Open

    public function getIid(): ?int

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

#[ORM\Index(columns: ['active'], name: 'active')]

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

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

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

    #[ORM\GeneratedValue]

Missing function doc comment
Open

    public function setActive(bool $active): self

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

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

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

    #[ORM\Column(name: 'content', type: 'text', nullable: true)]

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

    #[ORM\Column(name: 'active', type: 'boolean', nullable: false)]

Missing function doc comment
Open

    public function setTitle(string $title): self

There are no issues that match your filters.

Category
Status