chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

Missing function doc comment
Open

    public function setGradeBookCategory(GradebookCategory $gradeBookCategory): 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\GeneratedValue]

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

    #[ORM\Column(name: 'type', type: 'string', length: 10, nullable: false)]

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

Missing function doc comment
Open

    public function setSkill(Skill $skill): self

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

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

Missing function doc comment
Open

    public function getSkill(): Skill

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

    #[ORM\ManyToOne(targetEntity: Skill::class, inversedBy: 'gradeBookCategories')]

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

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

Missing function doc comment
Open

    public function __construct()

Add a single space around assignment operators
Open

declare(strict_types=1);

Missing function doc comment
Open

    public function getType(): string

Missing function doc comment
Open

    public function getId(): ?int

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

class SkillRelGradebook

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

    #[ORM\ManyToOne(targetEntity: GradebookCategory::class, inversedBy: 'skills')]

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 setType(string $type): self

Missing function doc comment
Open

    public function getGradeBookCategory(): GradebookCategory

There are no issues that match your filters.

Category
Status