src/CoreBundle/Entity/Asset.php
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'asset')]
- Exclude checks
Missing function doc comment Open
Open
public function setOriginalName(?string $originalName): self
- Exclude checks
Missing function doc comment Open
Open
public function getWidth(): int
- Exclude checks
Missing function doc comment Open
Open
public function getFileUrl(): string
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class Asset implements Stringable
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(type: 'string', length: 255)]
- Exclude checks
Missing function doc comment Open
Open
public function getId(): Uuid
- Exclude checks
Missing function doc comment Open
Open
public function getMimeType(): ?string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['resource_file:read', 'resource_node:read', 'document:read'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'crop', type: 'string', length: 255, nullable: true)]
- 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
Missing function doc comment Open
Open
public function setTitle(?string $title): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(type: 'integer')]
- Exclude checks
Missing function doc comment Open
Open
public function getFolder(): string
- Exclude checks
Missing function doc comment Open
Open
public function setSize(?int $size): self
- Exclude checks
Missing function doc comment Open
Open
public function setDescription(string $description): self
- Exclude checks
Missing function doc comment Open
Open
public function setFile(File|UploadedFile|null $file = null): self
- Exclude checks
Missing function doc comment Open
Open
public function hasFile(): bool
- 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(type: 'text', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function getCrop(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
Missing function doc comment Open
Open
public function getOriginalName(): string
- Exclude checks
Missing function doc comment Open
Open
public function setMimeType(?string $mimeType): self
- Exclude checks
Missing function doc comment Open
Open
public function getFile(): File
- 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(type: 'uuid')]
- Exclude checks
Missing function doc comment Open
Open
public function getDescription(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getCategory(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function getCompressed(): 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(type: 'simple_array', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setDimensions(?array $dimensions): self
- Exclude checks
Missing function doc comment Open
Open
public function getHeight(): int
- Exclude checks
Missing function doc comment Open
Open
public function getMetadata(): ?array
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotBlank]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\Choice([self::SCORM, self::WATERMARK, self::EXTRA_FIELD, self::COURSE_CATEGORY, self::SKILL], message: 'Choose a valid category.')]
- Exclude checks
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(type: 'boolean')]
- Exclude checks
Missing function doc comment Open
Open
public function isVideo(): bool
- Exclude checks
Missing function doc comment Open
Open
public function setCrop(string $crop): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(type: 'text', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function isImage(): bool
- Exclude checks
Missing function doc comment Open
Open
public function getDimensions(): ?array
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotBlank]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(type: 'array', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Gedmo\Timestampable(on: 'update')]
- Exclude checks
Missing function doc comment Open
Open
public function getSize(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setMetadata(array $metadata): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Groups(['resource_file:read', 'resource_node:read', 'document:read'])]
- Exclude checks
Missing function doc comment Open
Open
public function getTitle(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setCategory(string $category): self
- Exclude checks
Missing function doc comment Open
Open
public function setCompressed(bool $compressed): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(type: 'string', length: 255)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Assert\NotNull]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(type: 'datetime')]
- Exclude checks