chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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\UniqueConstraint(name: 'idx', columns: ['field_id', 'role_id', 'field_option_id', 'related_field_option_id'])]

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\JoinColumn(name: 'field_option_id', referencedColumnName: 'id')]

Missing function doc comment
Open

    public function setExtraFieldOption(ExtraFieldOptions $extraFieldOption): 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\ManyToOne(targetEntity: ExtraFieldOptions::class)]

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

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

Missing function doc comment
Open

    public function getExtraFieldOption(): ExtraFieldOptions

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

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

Missing function doc comment
Open

    public function setField(ExtraField $field): 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\ManyToOne(targetEntity: ExtraField::class)]

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

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

Missing function doc comment
Open

    public function getField(): ExtraField

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

class ExtraFieldOptionRelFieldOption

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 getRelatedFieldOption(): ExtraFieldOptions

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

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

Missing function doc comment
Open

    public function setRelatedFieldOption(ExtraFieldOptions $relatedFieldOption): self

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

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

There are no issues that match your filters.

Category
Status