chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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: 'subkeytext', type: 'string', length: 255, nullable: true)]

Missing function doc comment
Open

    public function getVariable(): string

Missing function doc comment
Open

    public function getCategory(): ?string

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

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

Missing function doc comment
Open

    public function __construct()

Missing function doc comment
Open

    public function getSubkeytext(): ?string

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

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

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

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

Missing function doc comment
Open

    public function setCategory(?string $category): self

Missing function doc comment
Open

    public function getScope(): ?string

Missing function doc comment
Open

    public function getType(): ?string

Missing function doc comment
Open

    public function setUrl(AccessUrl $url): self

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

    #[ORM\ManyToOne(targetEntity: AccessUrl::class, cascade: ['persist'], inversedBy: 'settings')]

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

Missing function doc comment
Open

    public function setVariable(string $variable): self

Missing function doc comment
Open

    public function setComment(string $comment): self

Missing function doc comment
Open

    public function getAccessUrlChangeable(): int

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

#[ORM\UniqueConstraint(name: 'unique_setting', columns: ['variable', 'subkey', 'access_url'])]

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]

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

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

    #[Assert\NotBlank]

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

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

Missing function doc comment
Open

    public function getSubkey(): ?string

Missing function doc comment
Open

    public function setAccessUrlChangeable(int $accessUrlChangeable): self

Missing function doc comment
Open

    public function setAccessUrlLocked(int $accessUrlLocked): self

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

class SettingsCurrent

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

    #[ORM\Column(name: 'access_url_locked', type: 'integer', nullable: false, options: ['default' => 0])]

Missing function doc comment
Open

    public function setType(string $type): self

Missing function doc comment
Open

    public function setScope(string $scope): self

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

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

Missing function doc comment
Open

    public function getSelectedValue(): ?string

Missing function doc comment
Open

    public function setSelectedValue(float|int|string|null $selectedValue): self

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

    #[Assert\NotBlank]

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

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

Missing function doc comment
Open

    public function getComment(): ?string

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: 'scope', type: 'string', length: 50, nullable: true)]

Missing function doc comment
Open

    public function setSubkey(string $subkey): self

Missing function doc comment
Open

    public function getTitle(): string

Missing function doc comment
Open

    public function setTitle(string $title): self

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

#[ORM\Index(columns: ['access_url'], name: 'access_url')]

Missing function doc comment
Open

    public function getUrl(): AccessUrl

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

#[ORM\Table(name: 'settings', options: ['row_format' => 'DYNAMIC'])]

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

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

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

    #[Assert\NotBlank]

Missing function doc comment
Open

    public function setSubkeytext(string $subkeytext): self

Missing function doc comment
Open

    public function getAccessUrlLocked(): int

Missing function doc comment
Open

    public function getId(): ?int

There are no issues that match your filters.

Category
Status