chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

Missing function doc comment
Open

    public function getEndCorrectionOption(): ?int

Add a single space around assignment operators
Open

declare(strict_types=1);

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

class CPeerAssessment

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

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

Missing function doc comment
Open

    public function getGroupCategory(): ?CGroupCategory

Missing function doc comment
Open

    public function getDistributeCorrectionOption(): int

Missing function doc comment
Open

    public function setEndRepositoryOption(?int $endRepositoryOption): self

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

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

Missing function doc comment
Open

    public function setGroupCategory(?CGroupCategory $groupCategory): self

Missing function doc comment
Open

    public function getStartCorrectionOption(): ?int

Missing function doc comment
Open

    public function getCommentConstraint(): ?bool

Missing function doc comment
Open

    public function setDistributionAlgorithm(?bool $distributionAlgorithm): self

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

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

Missing function doc comment
Open

    public function getEndWorkRepositoryOption(): ?int

Missing function doc comment
Open

    public function setStudentAccessToCorrection(?bool $studentAccessToCorrection): self

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

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

Missing function doc comment
Open

    public function setMaxCorrectionPerStudent(?int $maxCorrectionPerStudent): self

Missing function doc comment
Open

    public function setCorrectBenchmarkWork(?bool $correctBenchmarkWork): self

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

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

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

    #[ORM\Column(type: 'boolean', nullable: true, options: ['default' => 0])]

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

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

Missing function doc comment
Open

    public function setDistributeCorrectionOption(int $distributeCorrectionOption): self

Missing function doc comment
Open

    public function getCorrectOwnWork(): ?bool

Missing function doc comment
Open

    public function getStartCorrectionDate(): ?DateTime

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

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

    #[ORM\Column(type: 'boolean', nullable: true, options: ['default' => 0])]

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

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

Missing function doc comment
Open

    public function getId(): ?int

Missing function doc comment
Open

    public function getStartWorkRepositoryOption(): ?int

Missing function doc comment
Open

    public function setStartCorrectionOption(?int $startCorrectionOption): self

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

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

Missing function doc comment
Open

    public function getMaxCorrectionPerStudent(): ?int

Missing function doc comment
Open

    public function getSendWorkEndDate(): ?DateTime

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: 'boolean', nullable: true, options: ['default' => 0])]

Missing function doc comment
Open

    public function setEndCorrectionDate(?DateTime $endCorrectionDate): 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: 'datetime', nullable: true)]

Missing function doc comment
Open

    public function setState(?int $state): self

Missing function doc comment
Open

    public function setCorrectOwnWork(?bool $correctOwnWork): self

Missing function doc comment
Open

    public function setSendWorkEndDate(?DateTime $sendWorkEndDate): self

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

#[ORM\Entity]

Missing function doc comment
Open

    public function getSendWorkStartDate(): ?DateTime

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

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

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

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

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

    #[ORM\Column(type: 'boolean', nullable: true, options: ['default' => 0])]

Missing function doc comment
Open

    public function setEndCorrectionOption(?int $endCorrectionOption): self

Missing function doc comment
Open

    public function setExaminerRoleCondition(?bool $examinerRoleCondition): self

Missing function doc comment
Open

    public function getDistributionAlgorithm(): ?bool

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

    #[ORM\JoinColumn(name: 'c_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, options: ['default' => 0])]

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: false, options: ['default' => 0])]

Missing function doc comment
Open

    public function setStartWorkRepositoryOption(?int $startWorkRepositoryOption): self

Missing function doc comment
Open

    public function setEndWorkRepositoryOption(?int $endWorkRepositoryOption): self

Missing function doc comment
Open

    public function getEndRepositoryOption(): ?int

Missing function doc comment
Open

    public function setCommentConstraint(?bool $commentConstraint): 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: 'boolean', nullable: true, options: ['default' => 0])]

Missing function doc comment
Open

    public function getStudentAccessToCorrection(): ?bool

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

    #[ORM\Column(type: 'boolean', nullable: true, options: ['default' => 0])]

Missing function doc comment
Open

    public function __construct() {}

Missing function doc comment
Open

    public function getExaminerRoleCondition(): ?bool

Missing function doc comment
Open

    public function getCorrectBenchmarkWork(): ?bool

Missing function doc comment
Open

    public function setSendWorkStartDate(?DateTime $sendWorkStartDate): self

Missing function doc comment
Open

    public function getEndCorrectionDate(): ?DateTime

Closing brace must be on a line by itself
Open

    public function __construct() {}

Missing function doc comment
Open

    public function getState(): ?int

Missing function doc comment
Open

    public function setStartCorrectionDate(?DateTime $startCorrectionDate): self

Opening brace should be on a new line
Open

    public function __construct() {}

Closing brace must be on a line by itself
Open

    public function __construct() {}

There are no issues that match your filters.

Category
Status