chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

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

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

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

Missing function doc comment
Open

    public function getEndDate(): ?DateTimeInterface

Missing function doc comment
Open

    public function setIsOpenWithoutDate(?bool $isOpenWithoutDate): self

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

class CLpUserAccess

Missing function doc comment
Open

    public function setEndDate(?DateTimeInterface $endDate): self

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

    #[ORM\JoinColumn(name: 'user_id', referencedColumnName: 'id', nullable: true, onDelete: 'SET NULL')]

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

    #[ORM\Column(name: 'end_date', type: 'datetime', nullable: true)]

Missing function doc comment
Open

    public function setLp(?CLp $lp): self

Missing function doc comment
Open

    public function setStartDate(?DateTimeInterface $startDate): self

Missing function doc comment
Open

    public function getIsOpenWithoutDate(): ?bool

Missing function doc comment
Open

    public function getStartDate(): ?DateTimeInterface

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

    #[ORM\JoinColumn(name: 'lp_id', referencedColumnName: 'iid', nullable: true, onDelete: 'SET NULL')]

Missing function doc comment
Open

    public function getLp(): ?CLp

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

    #[ORM\ManyToOne(targetEntity: User::class)]

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

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

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

    #[ORM\ManyToOne(targetEntity: CLp::class)]

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

    #[ORM\Column(name: 'start_date', type: 'datetime', nullable: true)]

Missing function doc comment
Open

    public function getId(): ?int

Missing function doc comment
Open

    public function __construct()

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

    #[ORM\Column(name: 'is_open_without_date', type: 'boolean', options: ['default' => 0], nullable: true)]

There are no issues that match your filters.

Category
Status