src/CourseBundle/Entity/CAnnouncementAttachment.php
You must use "/**" style comments for a class comment Open
Open
class CAnnouncementAttachment extends AbstractResource implements ResourceInterface, Stringable
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'announcement_id', referencedColumnName: 'iid', onDelete: 'CASCADE')]
- Exclude checks
Missing function doc comment Open
Open
public function setSize(int $size): self
- Exclude checks
Missing function doc comment Open
Open
public function setResourceName(string $name): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: CAnnouncement::class, inversedBy: 'attachments')]
- Exclude checks
Missing function doc comment Open
Open
public function setComment(string $comment): self
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setAnnouncement(?CAnnouncement $announcement): static
- Exclude checks
Missing function doc comment Open
Open
public function __toString(): string
- Exclude checks
Missing function doc comment Open
Open
public function getResourceName(): string
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
Missing function doc comment Open
Open
public function getIid(): ?int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\GeneratedValue]
- Exclude checks
Missing function doc comment Open
Open
public function setAnnouncement(?CAnnouncement $announcement): static
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Entity(repositoryClass: CAnnouncementAttachmentRepository::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Id]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'filename', type: 'string', length: 255, nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function getAnnouncement(): ?CAnnouncement
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'iid', type: 'integer')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'path', type: 'string', length: 255, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'size', type: 'integer', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'comment', type: 'text', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'c_announcement_attachment')]
- Exclude checks
Missing function doc comment Open
Open
public function setPath(string $path): self
- Exclude checks
Missing function doc comment Open
Open
public function getResourceIdentifier(): int
- Exclude checks
Missing function doc comment Open
Open
public function setFilename(string $filename): self
- Exclude checks