chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

Missing function doc comment
Open

    public function setRoleCode(string $roleCode): self

Missing function doc comment
Open

    public function setChangeable(bool $changeable): self

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

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

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

    #[ORM\Column(type: 'string', length: 50)]

Missing function doc comment
Open

    public function setPermission(Permission $permission): self

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

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

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

    #[Assert\NotBlank]

Missing function doc comment
Open

    public function setUpdatedAt(DateTime $updatedAt): self

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

#[ORM\Entity(repositoryClass: PermissionRelRoleRepository::class)]

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

    #[ORM\Id]

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\Table(name: 'permission_rel_role')]

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

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

Missing function doc comment
Open

    public function getRoleCode(): string

Missing function doc comment
Open

    public function getUpdatedAt(): DateTime

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

    #[ORM\JoinColumn(nullable: false)]

Missing function doc comment
Open

    public function getId(): ?int

Missing function doc comment
Open

    public function getPermission(): Permission

Missing function doc comment
Open

    public function isChangeable(): bool

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

    #[ORM\GeneratedValue(strategy: 'AUTO')]

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

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

There are no issues that match your filters.

Category
Status