chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

class GradebookScoreDisplay

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

Missing function doc comment
Open

    public function setDisplay(string $display): self

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

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

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

    #[ORM\Column(name: 'score_color_percent', type: 'float', precision: 10, scale: 0, nullable: false)]

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\Id]

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

    #[ORM\Column(name: 'score', type: 'float', precision: 10, scale: 0, nullable: false)]

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

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

Missing function doc comment
Open

    public function setScore(float $score): self

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

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

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

    #[ORM\JoinColumn(name: 'category_id', referencedColumnName: 'id', onDelete: 'CASCADE')]

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\Index(name: 'category_id', columns: ['category_id'])]

Missing function doc comment
Open

    public function setScoreColorPercent(float $scoreColorPercent): self

There are no issues that match your filters.

Category
Status