chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

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

Missing function doc comment
Open

    public function setExaminerFolderId(?int $examinerFolderId): self

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

#[ORM\Entity]

Missing function doc comment
Open

    public function getMaximumScore(): ?int

Missing function doc comment
Open

    public function getCompleted(): ?bool

Add a single space around assignment operators
Open

declare(strict_types=1);

Missing function doc comment
Open

    public function setExaminerId(?int $examinerId): self

Missing function doc comment
Open

    public function setMaximumScore(?int $maximumScore): self

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

class CPeerAssessmentCorrection

Missing function doc comment
Open

    public function setExaminerGroupId(?int $examinerGroupId): self

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\Column(type: 'boolean', nullable: true)]

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

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

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

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

Missing function doc comment
Open

    public function __construct() {}

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

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

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

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

Missing function doc comment
Open

    public function getStudentGroup(): ?Usergroup

Missing function doc comment
Open

    public function getExaminerId(): ?int

Missing function doc comment
Open

    public function getId(): ?int

Missing function doc comment
Open

    public function setCompleted(?bool $completed): self

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

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

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

Missing function doc comment
Open

    public function setExaminerDocumentId(?int $examinerDocumentId): self

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

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

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 getExaminerFolderId(): ?int

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

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

Missing function doc comment
Open

    public function setStudentGroup(?Usergroup $studentGroup): self

Missing function doc comment
Open

    public function getExaminerGroupId(): ?int

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: 'boolean', nullable: true)]

Missing function doc comment
Open

    public function getPeerAssessment(): ?CPeerAssessment

Missing function doc comment
Open

    public function getTotalScore(): ?int

Missing function doc comment
Open

    public function setTotalScore(?int $totalScore): self

Missing function doc comment
Open

    public function setDelivered(?bool $delivered): self

Missing function doc comment
Open

    public function getExaminerDocumentId(): ?int

Missing function doc comment
Open

    public function setPeerAssessment(?CPeerAssessment $peerAssessment): self

Missing function doc comment
Open

    public function getDelivered(): ?bool

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

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

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