chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

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 SkillRelUserComment

Missing function doc comment
Open

    public function getId(): ?int

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: 'feedback_text', type: 'text')]

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\Index(columns: ['skill_rel_user_id', 'feedback_giver_id'], name: 'idx_select_su_giver')]

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

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

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

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

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\JoinColumn(name: 'skill_rel_user_id', referencedColumnName: 'id')]

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

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

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

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

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

    #[ORM\Column(name: 'feedback_value', type: 'integer', nullable: true, options: ['default' => 1])]

Missing function doc comment
Open

    public function getFeedbackGiver(): ?User

Missing function doc comment
Open

    public function getFeedbackValue(): ?int

Missing function doc comment
Open

    public function getFeedbackDateTime(): DateTime

Missing function doc comment
Open

    public function getFeedbackText(): string

Missing function doc comment
Open

    public function getSkillRelUser(): ?SkillRelUser

Missing function doc comment
Open

    public function setFeedbackDateTime(DateTime $feedbackDateTime): self

Missing function doc comment
Open

    public function setSkillRelUser(SkillRelUser $skillRelUser): self

Missing function doc comment
Open

    public function setFeedbackValue(?int $feedbackValue): self

Missing function doc comment
Open

    public function setFeedbackGiver(User $feedbackGiver): self

Missing function doc comment
Open

    public function setFeedbackText(string $feedbackText): self

There are no issues that match your filters.

Category
Status