chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

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

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

#[ORM\Index(columns: ['attendance_sheet_id'], name: 'attendance_sheet_id')]

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 getAttendanceSheetId(): int

Missing function doc comment
Open

    public function getUserId(): int

Add a single space around assignment operators
Open

declare(strict_types=1);

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

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

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

Missing function doc comment
Open

    public function getCreatedAt(): DateTime

Missing function doc comment
Open

    public function getAuthorUserId(): int

Missing function doc comment
Open

    public function setAttendanceSheetId(int $attendanceSheetId): self

Missing function doc comment
Open

    public function setCreatedAt(DateTime $createdAt): self

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

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

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

    #[ORM\Column(name: 'updated_at', type: 'datetime', nullable: false)]

Missing function doc comment
Open

    public function getUpdatedAt(): DateTime

Missing function doc comment
Open

    public function getComment(): ?string

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\Column(name: 'attendance_sheet_id', type: 'integer', nullable: false)]

Missing function doc comment
Open

    public function setAuthorUserId(int $authorUserId): self

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

    #[ORM\Column(name: 'created_at', type: 'datetime', nullable: false)]

Missing function doc comment
Open

    public function setUserId(int $userId): self

Missing function doc comment
Open

    public function setUpdatedAt(DateTime $updatedAt): 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\Index(columns: ['user_id'], name: 'user_id')]

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

class CAttendanceResultComment

Missing function doc comment
Open

    public function __construct()

Missing function doc comment
Open

    public function setComment(?string $comment): self

There are no issues that match your filters.

Category
Status