chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

Missing function doc comment
Open

    public function getGroupCategory(): ?CGroupCategory

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

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

Closing brace must be on a line by itself
Open

    public function __construct() {}

Missing function doc comment
Open

    public function getPopulationId(): int

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

Missing function doc comment
Open

    public function __construct() {}

Missing function doc comment
Open

    public function setPopulationType(int $populationType): 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\ManyToOne(targetEntity: CGroupCategory::class)]

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

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

    #[ORM\Column(type: 'smallint', length: 1)]

Missing function doc comment
Open

    public function setGroupCategory(?CGroupCategory $groupCategory): self

Missing function doc comment
Open

    public function getId(): ?int

Missing function doc comment
Open

    public function getPopulationType(): int

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

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

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

class CGroupCategoryRelUser

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

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

Missing function doc comment
Open

    public function setId(int $id): self

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

    #[ORM\Column(type: 'smallint', length: 1)]

Missing function doc comment
Open

    public function setPopulationId(int $populationId): self

Missing function doc comment
Open

    public function getStatusInCategory(): int

Missing function doc comment
Open

    public function setStatusInCategory(int $statusInCategory): self

Opening brace should be on a new line
Open

    public function __construct() {}

Closing brace must be on a line by itself
Open

    public function __construct() {}

There are no issues that match your filters.

Category
Status