chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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\Table(name: 'c_chat_conversation')]

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

    #[ORM\Id]

Add a single space around assignment operators
Open

declare(strict_types=1);

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: 'title', type: 'string', length: 255, nullable: true)]

Missing function doc comment
Open

    public function setResourceName(string $name): self

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

class CChatConversation extends AbstractResource implements ResourceInterface, Stringable

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

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

Missing function doc comment
Open

    public function __toString(): string

Missing function doc comment
Open

    public function getTitle(): string

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 getResourceName(): string

There are no issues that match your filters.

Category
Status