Showing 11 of 11 total issues
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. New
New
#[Groups(['cshortcut:read'])]
- Exclude checks
Missing function doc comment New
New
public function getCustomImage(): ?Asset
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. New
New
#[ORM\JoinColumn(name: 'custom_image_id', referencedColumnName: 'id', onDelete: 'SET NULL')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. New
New
#[ORM\ManyToOne(targetEntity: Asset::class, cascade: ['remove'])]
- Exclude checks
Missing blank line before return statement New
New
return $this;
- Exclude checks
Missing function doc comment New
New
public function setCustomImage(?Asset $customImage): self
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 New
New
return $this->customImage;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 New
New
private ?Asset $customImage = null;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 New
New
$this->customImage = $customImage;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 New
New
public function getCustomImage(): ?Asset
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 New
New
public function setCustomImage(?Asset $customImage): self
- Exclude checks