chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

Missing function doc comment
Open

    public function setUser(User $user): self

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\ManyToOne(targetEntity: GradebookCategory::class, inversedBy: 'comments')]

Missing function doc comment
Open

    public function __construct()

Missing function doc comment
Open

    public function getUser(): User

Missing function doc comment
Open

    public function getGradeBook(): GradebookCategory

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: 'user_id', referencedColumnName: 'id', onDelete: 'CASCADE')]

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

    #[ORM\JoinColumn(name: 'gradebook_id', referencedColumnName: 'id', onDelete: 'CASCADE')]

Missing function doc comment
Open

    public function setGradeBook(GradebookCategory $gradeBook): self

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

#[ORM\Entity]

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

class GradebookComment

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\Column(name: 'comment', type: 'text')]

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

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

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

    #[ORM\ManyToOne(targetEntity: User::class, inversedBy: 'gradeBookComments')]

Missing function doc comment
Open

    public function getComment(): ?string

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

There are no issues that match your filters.

Category
Status