src/CoreBundle/Entity/Block.php
You must use "/**" style comments for a class comment Open
Open
class Block
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'active', type: 'boolean', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'block')]
- 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: 'id', type: 'integer')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'description', type: 'text', nullable: true)]
- 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\Column(name: 'title', type: 'string', length: 255, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'path', type: 'string', length: 190, nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function isActive(): bool
- 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: 'controller', type: 'string', length: 100, nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function getController(): string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'user_id', referencedColumnName: 'id', onDelete: 'CASCADE')]
- Exclude checks
Missing function doc comment Open
Open
public function setActive(bool $active): self
- Exclude checks
Missing function doc comment Open
Open
public function setController(string $controller): self
- Exclude checks
Missing function doc comment Open
Open
public function getTitle(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setPath(string $path): self
- Exclude checks
Missing function doc comment Open
Open
public function getUser(): User
- Exclude checks
Missing function doc comment Open
Open
public function setUser(User $user): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToOne(inversedBy: 'block', targetEntity: User::class)]
- Exclude checks
Missing function doc comment Open
Open
public function setDescription(?string $description): self
- Exclude checks
Missing function doc comment Open
Open
public function getPath(): string
- Exclude checks
Missing function doc comment Open
Open
public function getDescription(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setTitle(?string $title): self
- Exclude checks