chamilo/chamilo-lms

View on GitHub
src/CourseBundle/Entity/CCourseSetting.php

Summary

Maintainability
A
0 mins
Test Coverage

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

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

Missing function doc comment
Open

    public function getSubkeytext(): ?string

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

    #[ORM\GeneratedValue]

Missing function doc comment
Open

    public function setCId(int $cId): static

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

    public function setCId(int $cId): static

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

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

Missing function doc comment
Open

    public function setSubkey(string $subkey): self

Missing function doc comment
Open

    public function getTitle(): ?string

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

    #[ORM\Column(name: 'iid', 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: 'type', type: 'string', length: 255, nullable: true)]

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

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

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

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

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

class CCourseSetting

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 getSubkey(): ?string

Missing function doc comment
Open

    public function getValue(): ?string

Add a single space around assignment operators
Open

declare(strict_types=1);

Missing function doc comment
Open

    public function setType(string $type): 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: 'subkey', type: 'string', length: 255, nullable: true)]

Missing function doc comment
Open

    public function setValue(string $value): 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

    #[Assert\NotBlank]

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: 'value', type: 'text', nullable: true)]

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

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

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

Missing function doc comment
Open

    public function setCategory(string $category): self

Missing function doc comment
Open

    public function setComment(string $comment): self

Missing function doc comment
Open

    public function setSubkeytext(string $subkeytext): self

Missing function doc comment
Open

    public function getCId(): int

Missing function doc comment
Open

    public function getType(): ?string

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

Missing function doc comment
Open

    public function setTitle(string $title): self

Missing function doc comment
Open

    public function getComment(): ?string

There are no issues that match your filters.

Category
Status