chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

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

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\ManyToOne(targetEntity: CGroup::class)]

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

Missing function doc comment
Open

    public function getStudentPublication(): ?CStudentPublication

Missing function doc comment
Open

    public function __construct() {}

Closing brace must be on a line by itself
Open

    public function __construct() {}

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

    #[ORM\GeneratedValue]

Missing function doc comment
Open

    public function getPeerAssessment(): ?CPeerAssessment

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

    #[ORM\Id]

Missing function doc comment
Open

    public function setPeerAssessment(?CPeerAssessment $peerAssessment): self

Missing function doc comment
Open

    public function getGroup(): ?CGroup

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

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

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

class CPeerAssessmentRelStudentPublication

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: CStudentPublication::class)]

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

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\Column(type: 'integer')]

Missing function doc comment
Open

    public function setStudentPublication(?CStudentPublication $studentPublication): self

Missing function doc comment
Open

    public function getStudentPublicationFolderId(): ?int

Missing function doc comment
Open

    public function setStudentPublicationFolderId(?int $studentPublicationFolderId): self

Missing function doc comment
Open

    public function setGroup(?CGroup $group): self

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