chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

class ScheduledAnnouncement

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: 'date', type: 'datetime', nullable: true)]

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

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

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: 'message', type: 'text', unique: false)]

Closing brace must be on a line by itself
Open

    public function __construct() {}

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

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

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

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

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

    #[ORM\Column(name: 'session_id', type: 'integer', nullable: false)]

Missing function doc comment
Open

    public function setDate(DateTime $date): self

Missing function doc comment
Open

    public function setSubject(string $subject): self

Missing function doc comment
Open

    public function getMessage(): string

Missing function doc comment
Open

    public function setCId(int $cId): self

Add a single space around assignment operators
Open

declare(strict_types=1);

Missing function doc comment
Open

    public function getCId(): int

Missing function doc comment
Open

    public function __construct() {}

Missing function doc comment
Open

    public function getDate(): DateTime

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

    #[ORM\Column(name: 'sent', type: 'boolean')]

Missing function doc comment
Open

    public function getSubject(): 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 setMessage(string $message): self

Missing function doc comment
Open

    public function isSent(): bool

Missing function doc comment
Open

    public function setSent(bool $sent): self

Missing function doc comment
Open

    public function getId(): int

Missing function doc comment
Open

    public function getSessionId(): int

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

    #[ORM\Column(name: 'c_id', type: 'integer', nullable: true)]

Missing function doc comment
Open

    public function setSessionId(int $sessionId): self

Closing brace must be on a line by itself
Open

    public function __construct() {}

Opening brace should be on a new line
Open

    public function __construct() {}

There are no issues that match your filters.

Category
Status