chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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\Id]

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

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

Missing function doc comment
Open

    public function setId(int $id): self

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

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

Add a single space around assignment operators
Open

declare(strict_types=1);

Missing function doc comment
Open

    public function getId(): ?int

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

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

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

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

Missing function doc comment
Open

    public function getDayDiff(): ?int

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

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

Missing function doc comment
Open

    public function setDayDiff(?int $dayDiff): self

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 setContent(?string $content): self

Missing function doc comment
Open

    public function getEventId(): ?int

Missing function doc comment
Open

    public function getTitle(): string

Missing function doc comment
Open

    public function getContent(): ?string

Missing function doc comment
Open

    public function setPersistent(?int $persistent): self

Missing function doc comment
Open

    public function setEventId(?int $eventId): self

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

#[ORM\Entity]

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

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

Missing function doc comment
Open

    public function getLink(): ?string

Missing function doc comment
Open

    public function getEventType(): string

Missing function doc comment
Open

    public function setTitle(string $title): self

Missing function doc comment
Open

    public function getPersistent(): ?int

Missing function doc comment
Open

    public function setEventType(string $eventType): self

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

class NotificationEvent

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

Missing function doc comment
Open

    public function setLink(?string $link): self

There are no issues that match your filters.

Category
Status