src/CourseBundle/Entity/CBlog.php
Missing function doc comment Open
Open
public function __toString(): string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'title', type: 'text', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function setTitle(string $title): self
- Exclude checks
Missing function doc comment Open
Open
public function getDateCreation(): DateTime
- Exclude checks
Missing function doc comment Open
Open
public function getResourceName(): string
- 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\Id]
- Exclude checks
Missing function doc comment Open
Open
public function setDateCreation(DateTime $dateCreation): self
- Exclude checks
Missing function doc comment Open
Open
public function addAttachment(CBlogAttachment $attachment): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotBlank]
- Exclude checks
Missing function doc comment Open
Open
public function getTitle(): string
- Exclude checks
Missing function doc comment Open
Open
public function getBlogSubtitle(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setBlogSubtitle(?string $blogSubtitle): self
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class CBlog extends AbstractResource implements ResourceInterface, Stringable
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'blog', targetEntity: CBlogAttachment::class, cascade: ['persist', 'remove'])]
- Exclude checks
Missing function doc comment Open
Open
public function removeAttachment(CBlogAttachment $attachment): self
- 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\GeneratedValue]
- Exclude checks
Missing function doc comment Open
Open
public function getResourceIdentifier(): int
- 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\Entity]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'c_blog')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'blog_subtitle', type: 'string', length: 250, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'date_creation', type: 'datetime', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function getIid(): ?int
- Exclude checks