chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

Missing function doc comment
Open

    public function getPath(): string

Missing function doc comment
Open

    public function setComment(?string $comment): self

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

    #[ORM\Column(type: 'string', length: 255)]

Add a single space around assignment operators
Open

declare(strict_types=1);

Missing function doc comment
Open

    public function setSize(int $size): self

Missing function doc comment
Open

    public function setOriginType(int $originType): self

Missing function doc comment
Open

    public function getOriginType(): int

Missing function doc comment
Open

    public function setPath(string $path): self

Missing function doc comment
Open

    public function getSize(): int

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

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

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

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

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

Missing function doc comment
Open

    public function getComment(): ?string

Missing function doc comment
Open

    public function getFilename(): string

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

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

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

class PortfolioAttachment

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: 'string', length: 255)]

Missing function doc comment
Open

    public function setFilename(string $filename): self

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

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

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

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

Missing function doc comment
Open

    public function setOrigin(int $origin): self

Missing function doc comment
Open

    public function getId(): int

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

    #[ORM\GeneratedValue]

Missing function doc comment
Open

    public function getOrigin(): int

There are no issues that match your filters.

Category
Status