chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

Missing function doc comment
Open

    public function __toString(): string

Missing function doc comment
Open

    public function setEvent(CCalendarEvent $event): self

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

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

    #[ORM\JoinColumn(name: 'agenda_id', referencedColumnName: 'iid', onDelete: 'CASCADE')]

Missing function doc comment
Open

    public function getEvent(): CCalendarEvent

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

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

Missing function doc comment
Open

    public function getComment(): ?string

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

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

Missing function doc comment
Open

    public function setFilename(string $filename): self

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

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

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

    #[ORM\ManyToOne(targetEntity: CCalendarEvent::class, cascade: ['persist'], inversedBy: 'attachments')]

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

class CCalendarEventAttachment extends AbstractResource implements ResourceInterface, Stringable

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

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

Missing function doc comment
Open

    public function getFilename(): string

Missing function doc comment
Open

    public function getResourceIdentifier(): int|Uuid

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

    #[ORM\Id]

Missing function doc comment
Open

    public function setComment(string $comment): self

Add a single space around assignment operators
Open

declare(strict_types=1);

Missing function doc comment
Open

    public function getResourceName(): string

Missing function doc comment
Open

    public function getIid(): ?int

Missing function doc comment
Open

    public function setResourceName(string $name): self

There are no issues that match your filters.

Category
Status