chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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: 'id', type: 'integer')]

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

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

Missing function doc comment
Open

    public function setDisplayText(string $displayText): self

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

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

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

    #[ORM\GeneratedValue]

Add a single space around assignment operators
Open

declare(strict_types=1);

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

class SettingsOptions

Missing function doc comment
Open

    public function setVariable(string $variable): self

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

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

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\Table(name: 'settings_options', options: ['row_format' => 'DYNAMIC'])]

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

#[ORM\UniqueConstraint(name: 'unique_setting_option', columns: ['variable', 'value'])]

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

    #[ORM\Id]

There are no issues that match your filters.

Category
Status