chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

class SequenceValue

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

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

Missing function doc comment
Open

    public function getCompleteItems(): int

Missing function doc comment
Open

    public function getAvailableEndDate(): ?DateTime

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

    #[ORM\Column(name: 'success_date', type: 'datetime', nullable: true)]

Missing function doc comment
Open

    public function setAvailableEndDate(DateTime $availableEndDate): self

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

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

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

    #[ORM\Column(name: 'available_start_date', type: 'datetime', nullable: true)]

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

    #[ORM\GeneratedValue]

Missing function doc comment
Open

    public function setEntity(?SequenceRowEntity $entity): self

Scope keyword "static" must be followed by a single space
Open

    public function setAdvance(float $advance): static

Missing function doc comment
Open

    public function getAvailable(): bool

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

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

Missing function doc comment
Open

    public function setSuccess(bool $success): self

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

    #[ORM\Column(name: 'available_end_date', type: 'datetime', nullable: true)]

Missing function doc comment
Open

    public function getId(): ?int

Add a single space around assignment operators
Open

declare(strict_types=1);

Missing function doc comment
Open

    public function getSuccessDate(): ?DateTime

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(name: 'complete_items', type: 'integer')]

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

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

Missing function doc comment
Open

    public function getTotalItems(): int

Missing function doc comment
Open

    public function getSuccess(): bool

Missing function doc comment
Open

    public function setAvailable(bool $available): self

Missing function doc comment
Open

    public function getAvailableStartDate(): ?DateTime

Missing function doc comment
Open

    public function setAvailableStartDate(DateTime $availableStartDate): self

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

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

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

    #[ORM\Id]

Missing function doc comment
Open

    public function getEntity(): ?SequenceRowEntity

Missing function doc comment
Open

    public function setCompleteItems(int $completeItems): self

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

    #[ORM\ManyToOne(targetEntity: User::class, inversedBy: 'sequenceValues')]

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

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

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

    #[ORM\JoinColumn(name: 'sequence_row_entity_id', referencedColumnName: 'id')]

Missing function doc comment
Open

    public function setSuccessDate(DateTime $successDate): self

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

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

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

    #[ORM\Column(name: 'advance', type: 'float')]

Missing function doc comment
Open

    public function getAdvance(): float

Missing function doc comment
Open

    public function setAdvance(float $advance): static

Missing function doc comment
Open

    public function setTotalItems(int $totalItems): self

There are no issues that match your filters.

Category
Status