chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

class ExtraFieldOptions

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

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

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

    #[Gedmo\Translatable]

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 getField(): ExtraField

Missing function doc comment
Open

    public function setDisplayText(string $displayText): self

Missing function doc comment
Open

    public function setLocale(string $locale): self

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

    #[Assert\NotNull]

Missing function doc comment
Open

    public function setPriority(string $priority): self

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

    #[Gedmo\Locale]

Missing function doc comment
Open

    public function getPriorityMessage(): ?string

Missing function doc comment
Open

    public function setValue(string $value): self

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

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

Missing function doc comment
Open

    public function setPriorityMessage(string $priorityMessage): 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(name: 'priority_message', type: 'string', length: 255, nullable: true)]

Missing function doc comment
Open

    public function setField(ExtraField $field): self

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

    #[ORM\GeneratedValue]

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

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

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

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

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

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

Missing function doc comment
Open

    public function setOptionOrder(int $optionOrder): self

Missing function doc comment
Open

    public function getPriority(): ?string

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

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

#[ORM\MappedSuperclass]

Missing function doc comment
Open

    public function getLocale(): string

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

    #[ORM\ManyToOne(targetEntity: ExtraField::class, inversedBy: 'options')]

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

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

There are no issues that match your filters.

Category
Status