chamilo/chamilo-lms

View on GitHub
src/CoreBundle/Entity/SkillRelItemRelUser.php

Summary

Maintainability
A
0 mins
Test Coverage

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

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

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\Entity]

Missing function doc comment
Open

    public function getSkillRelItem(): SkillRelItem

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

    #[ORM\Column(name: 'created_by', type: 'integer', nullable: false)]

Scope keyword "static" must be followed by a single space
Open

    public function setCreatedBy(int $createdBy): static

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

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

Scope keyword "static" must be followed by a single space
Open

    public function setSkillRelItem(SkillRelItem $skillRelItem): static

Missing function doc comment
Open

    public function setResultId(int $resultId): static

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

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

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

    #[Gedmo\Timestampable(on: 'create')]

Missing function doc comment
Open

    public function getResultId(): int

Missing function doc comment
Open

    public function getUserItemResultUrl(string $cidReq): string

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

class SkillRelItemRelUser

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

    #[ORM\Column(name: 'id', type: 'integer')]

Scope keyword "static" must be followed by a single space
Open

    public function setResultId(int $resultId): static

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

    #[Gedmo\Timestampable(on: 'update')]

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

    #[ORM\Column(name: 'updated_by', type: 'integer', nullable: false)]

Missing function doc comment
Open

    public function setSkillRelItem(SkillRelItem $skillRelItem): static

Missing function doc comment
Open

    public function setUpdatedBy(int $updatedBy): static

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

Scope keyword "static" must be followed by a single space
Open

    public function setUpdatedBy(int $updatedBy): static

Missing function doc comment
Open

    public function setCreatedBy(int $createdBy): static

Missing function doc comment
Open

    public function getUpdatedBy(): int

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

    #[ORM\ManyToOne(targetEntity: User::class, cascade: ['persist'])]

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

    #[ORM\ManyToOne(targetEntity: SkillRelItem::class, cascade: ['persist'])]

Missing function doc comment
Open

    public function __construct() {}

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() {}

Missing function doc comment
Open

    public function getCreatedBy(): int

Missing function doc comment
Open

    public function getId(): ?int

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