chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

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

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

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

Missing function doc comment
Open

    public function setDateVote(?DateTimeInterface $dateVote): self

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 getStudentPublication(): ?CStudentPublication

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

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

Closing brace must be on a line by itself
Open

    public function __construct() {}

Missing function doc comment
Open

    public function setVote(?bool $vote): self

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

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

Missing function doc comment
Open

    public function getGroup(): ?CGroup

Missing function doc comment
Open

    public function setGroup(?CGroup $group): self

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

    #[ORM\JoinColumn(name: 'student_publication_id', referencedColumnName: 'iid', nullable: true, onDelete: 'SET NULL')]

Missing function doc comment
Open

    public function getId(): ?int

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

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

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')]

Missing function doc comment
Open

    public function getPeerAutogroupId(): ?int

Missing function doc comment
Open

    public function setStudentPublicationFolderId(?int $studentPublicationFolderId): self

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

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

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

Missing function doc comment
Open

    public function setStudentPublication(?CStudentPublication $studentPublication): self

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

    #[ORM\GeneratedValue]

Missing function doc comment
Open

    public function getDateVote(): ?DateTimeInterface

Missing function doc comment
Open

    public function setStudentPublicationParentId(?int $studentPublicationParentId): self

Missing function doc comment
Open

    public function getVote(): ?bool

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

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

Missing function doc comment
Open

    public function __construct() {}

Missing function doc comment
Open

    public function getStudentPublicationParentId(): ?int

Missing function doc comment
Open

    public function getStudentPublicationFolderId(): ?int

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

class CPeerAutogroupRelStudentPublication

Missing function doc comment
Open

    public function setPeerAutogroupId(?int $peerAutogroupId): 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