chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

Missing function doc comment
Open

    public function setCode(?string $code): self

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

class JustificationDocument

Missing function doc comment
Open

    public function setDateManualOn(?int $dateManualOn): self

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: 'text', nullable: true)]

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: 'justification_document')]

Missing function doc comment
Open

    public function getName(): ?string

Missing function doc comment
Open

    public function setComment(?string $comment): self

Missing function doc comment
Open

    public function getDateManualOn(): ?int

Missing function doc comment
Open

    public function getCode(): ?string

Missing function doc comment
Open

    public function getId(): ?int

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

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

Missing function doc comment
Open

    public function setName(?string $name): 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\Column(type: 'integer')]

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: 'text', nullable: true)]

Missing function doc comment
Open

    public function getValidityDuration(): ?int

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

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

Missing function doc comment
Open

    public function setValidityDuration(?int $validityDuration): self

Missing function doc comment
Open

    public function getComment(): ?string

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

    #[ORM\Column(type: 'text', nullable: true)]

There are no issues that match your filters.

Category
Status