src/CoreBundle/Entity/ScheduledAnnouncement.php
You must use "/**" style comments for a class comment Open
Open
class ScheduledAnnouncement
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Id]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'date', type: 'datetime', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'scheduled_announcements')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\GeneratedValue]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'message', type: 'text', unique: false)]
- Exclude checks
Closing brace must be on a line by itself Open
Open
public function __construct() {}
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Entity(repositoryClass: ScheduledAnnouncementRepository::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'subject', type: 'string', length: 255)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'session_id', type: 'integer', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function setDate(DateTime $date): self
- Exclude checks
Missing function doc comment Open
Open
public function setSubject(string $subject): self
- Exclude checks
Missing function doc comment Open
Open
public function getMessage(): string
- Exclude checks
Missing function doc comment Open
Open
public function setCId(int $cId): self
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
Missing function doc comment Open
Open
public function getCId(): int
- Exclude checks
Missing function doc comment Open
Open
public function __construct() {}
- Exclude checks
Missing function doc comment Open
Open
public function getDate(): DateTime
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'sent', type: 'boolean')]
- Exclude checks
Missing function doc comment Open
Open
public function getSubject(): string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'id', type: 'integer')]
- Exclude checks
Missing function doc comment Open
Open
public function setMessage(string $message): self
- Exclude checks
Missing function doc comment Open
Open
public function isSent(): bool
- Exclude checks
Missing function doc comment Open
Open
public function setSent(bool $sent): self
- Exclude checks
Missing function doc comment Open
Open
public function getId(): int
- Exclude checks
Missing function doc comment Open
Open
public function getSessionId(): int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'c_id', type: 'integer', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setSessionId(int $sessionId): self
- Exclude checks
Closing brace must be on a line by itself Open
Open
public function __construct() {}
- Exclude checks
Opening brace should be on a new line Open
Open
public function __construct() {}
- Exclude checks