chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

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

Missing function doc comment
Open

    public function getPeerAssessmentCriteria(): ?CPeerAssessmentCriteria

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

#[ORM\Entity]

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

class CPeerAssessmentCorrectionCriteria

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

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

Missing function doc comment
Open

    public function __construct() {}

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\JoinColumn(name: 'peer_assessment_correction_id', referencedColumnName: 'id', nullable: true, onDelete: 'CASCADE')]

Missing function doc comment
Open

    public function setPeerAssessmentCriteria(?CPeerAssessmentCriteria $peerAssessmentCriteria): self

Missing function doc comment
Open

    public function getScore(): ?int

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

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

Missing function doc comment
Open

    public function getComment(): ?string

Missing function doc comment
Open

    public function setScore(?int $score): 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(type: 'integer')]

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

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

Missing function doc comment
Open

    public function setComment(?string $comment): self

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

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

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

    #[ORM\Column(type: 'integer', nullable: true)]

Closing brace must be on a line by itself
Open

    public function __construct() {}

Missing function doc comment
Open

    public function getPeerAssessmentCorrection(): ?CPeerAssessmentCorrection

Missing function doc comment
Open

    public function getId(): ?int

Missing function doc comment
Open

    public function setPeerAssessmentCorrection(?CPeerAssessmentCorrection $peerAssessmentCorrection): self

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

    #[ORM\GeneratedValue]

Closing brace must be on a line by itself
Open

    public function __construct() {}

Opening brace should be on a new line
Open

    public function __construct() {}

There are no issues that match your filters.

Category
Status