chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

Missing function doc comment
Open

    public function getPromotions(): array|ArrayCollection|Collection

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

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

    #[Assert\NotBlank]

Missing function doc comment
Open

    public function setPromotions(Collection $promotions): self

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\Column(name: 'description', type: 'text', nullable: false)]

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

    #[ORM\GeneratedValue]

Missing function doc comment
Open

    public function getDescription(): ?string

Missing function doc comment
Open

    public function getStatus(): int

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

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

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

    #[ORM\Column(name: 'status', type: 'integer', nullable: false)]

Missing function doc comment
Open

    public function setStatus(int $status): self

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

class Career

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

    #[ORM\OneToMany(targetEntity: Promotion::class, mappedBy: 'career', cascade: ['persist'])]

Missing function doc comment
Open

    public function getTitle(): string

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

#[ORM\Entity]

Missing function doc comment
Open

    public function setDescription(string $description): self

Missing function doc comment
Open

    public function setTitle(string $title): self

Missing function doc comment
Open

    public function __construct()

There are no issues that match your filters.

Category
Status