chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

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

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

    #[ORM\ManyToOne(targetEntity: CAttendance::class, cascade: ['remove'], inversedBy: 'calendars')]

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

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

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

    #[ORM\OneToMany(

Missing function doc comment
Open

    public function setAttendance(CAttendance $attendance): self

Missing function doc comment
Open

    public function getIid(): ?int

Missing function doc comment
Open

    public function getAttendance(): CAttendance

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

    #[ORM\Column(name: 'blocked', type: 'boolean', nullable: false)]

Missing function doc comment
Open

    public function setDuration(?int $duration): self

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

#[ORM\Entity]

Missing function doc comment
Open

    public function getDateTime(): DateTime

Missing function doc comment
Open

    public function getDuration(): ?int

Missing function doc comment
Open

    public function setBlocked(bool $blocked): self

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

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

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

    #[ORM\GeneratedValue]

Missing function doc comment
Open

    public function setDateTime(DateTime $dateTime): self

Missing function doc comment
Open

    public function getBlocked(): bool

Missing function doc comment
Open

    public function setDoneAttendance(bool $doneAttendance): self

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

class CAttendanceCalendar

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

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

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\Table(name: 'c_attendance_calendar')]

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: 'done_attendance', type: 'boolean', nullable: false)]

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

    #[ORM\Id]

Missing function doc comment
Open

    public function getDoneAttendance(): bool

There are no issues that match your filters.

Category
Status