src/CourseBundle/Entity/CLp.php
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'content_local', type: 'string', length: 32, nullable: false, options: ['default' => 'local'])]
- 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(name: 'created_on', type: 'datetime', 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 getRef(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setSeriousgameMode(bool $seriousgameMode): self
- Exclude checks
Missing function doc comment Open
Open
public function getAutolaunch(): int
- Exclude checks
Missing function doc comment Open
Open
public function getPublishedOn(): ?DateTime
- Exclude checks
Missing function doc comment Open
Open
public function setAccumulateWorkTime(int $accumulateWorkTime): self
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
Missing function doc comment Open
Open
public function __toString(): string
- Exclude checks
Missing function doc comment Open
Open
public function getSeriousgameMode(): bool
- Exclude checks
Missing function doc comment Open
Open
public function getCreatedOn(): DateTime
- 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: 'ref', type: 'text', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'path', type: 'text', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'seriousgame_mode', type: 'boolean', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: CLpCategory::class, inversedBy: 'lps')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'accumulate_scorm_time', type: 'integer', nullable: false, options: ['default' => 1])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: Asset::class, cascade: ['persist', 'remove'])]
- Exclude checks
Missing function doc comment Open
Open
public function setPath(string $path): self
- Exclude checks
Missing function doc comment Open
Open
public function setForceCommit(bool $forceCommit): self
- Exclude checks
Missing function doc comment Open
Open
public function setDefaultEncoding(string $defaultEncoding): self
- Exclude checks
Missing function doc comment Open
Open
public function getJsLib(): string
- Exclude checks
Missing function doc comment Open
Open
public function getHideTocFrame(): bool
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Entity(repositoryClass: CLpRepository::class)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'force_commit', type: 'boolean', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'subscribe_users', type: 'integer', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'next_lp_id', type: 'integer', nullable: false, options: ['default' => 0])]
- Exclude checks
Missing function doc comment Open
Open
public function getDefaultViewMod(): string
- Exclude checks
Missing function doc comment Open
Open
public function setDebug(bool $debug): self
- Exclude checks
Missing function doc comment Open
Open
public function setCategory(?CLpCategory $category = null): 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 setPrerequisite(int $prerequisite): self
- Exclude checks
Missing function doc comment Open
Open
public function setAccumulateScormTime(int $accumulateScormTime): self
- Exclude checks
Missing function doc comment Open
Open
public function getMaxAttempts(): int
- 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\JoinColumn(name: 'category_id', referencedColumnName: 'iid')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'subscribe_user_by_date', type: 'boolean', nullable: false, options: ['default' => 0])]
- Exclude checks
Missing function doc comment Open
Open
public function setLpType(int $lpType): self
- Exclude checks
Missing function doc comment Open
Open
public function getLpType(): int
- Exclude checks
Missing function doc comment Open
Open
public function getContentLocal(): string
- Exclude checks
Missing function doc comment Open
Open
public function setModifiedOn(DateTime $modifiedOn): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Table(name: 'c_lp')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\GeneratedValue]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'modified_on', type: 'datetime', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'display_not_allowed_lp', type: 'boolean', nullable: true, options: ['default' => 0])]
- 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
#[Gedmo\Timestampable(on: 'create')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'published_on', type: 'datetime', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'accumulate_work_time', type: 'integer', nullable: false, options: ['default' => 0])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'asset_id', referencedColumnName: 'id')]
- Exclude checks
Missing function doc comment Open
Open
public function setPreventReinit(bool $preventReinit): self
- Exclude checks
Missing function doc comment Open
Open
public function getDebug(): bool
- Exclude checks
Missing function doc comment Open
Open
public function setTheme(string $theme): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'use_max_score', type: 'integer', nullable: false, options: ['default' => 1])]
- Exclude checks
Missing function doc comment Open
Open
public function getDefaultEncoding(): string
- Exclude checks
Missing function doc comment Open
Open
public function setHideTocFrame(bool $hideTocFrame): self
- Exclude checks
Missing function doc comment Open
Open
public function setAutolaunch(int $autolaunch): self
- Exclude checks
Missing function doc comment Open
Open
public function getModifiedOn(): DateTime
- Exclude checks
Missing function doc comment Open
Open
public function getAccumulateScormTime(): int
- 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\Column(name: 'debug', type: 'boolean', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'author', type: 'text', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'lp', targetEntity: CForum::class, cascade: ['persist', 'remove'])]
- Exclude checks
Missing function doc comment Open
Open
public function setRef(string $ref): 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 getContentMaker(): string
- Exclude checks
Missing function doc comment Open
Open
public function setContentLocal(string $contentLocal): self
- Exclude checks
Missing function doc comment Open
Open
public function getPreventReinit(): bool
- Exclude checks
Missing function doc comment Open
Open
public function getExpiredOn(): ?DateTime
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class CLp extends AbstractResource implements ResourceInterface, ResourceShowCourseResourcesInSessionInterface, Stringable
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'default_encoding', type: 'string', length: 32, nullable: false, options: ['default' => 'UTF-8'])]
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
Missing function doc comment Open
Open
public function getForceCommit(): bool
- Exclude checks
Missing function doc comment Open
Open
public function setAuthor(string $author): self
- Exclude checks
Missing function doc comment Open
Open
public function getCategory(): ?CLpCategory
- Exclude checks
Missing function doc comment Open
Open
public function hasCategory(): bool
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'lp_type', type: 'integer', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'theme', type: 'string', length: 255, nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'autolaunch', type: 'integer', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function getTitle(): string
- Exclude checks
Missing function doc comment Open
Open
public function setContentMaker(string $contentMaker): self
- Exclude checks
Missing function doc comment Open
Open
public function getAuthor(): string
- Exclude checks
Missing function doc comment Open
Open
public function getPrerequisite(): int
- Exclude checks
Missing function doc comment Open
Open
public function setUseMaxScore(int $useMaxScore): self
- Exclude checks
Missing function doc comment Open
Open
public function setCreatedOn(DateTime $createdOn): self
- Exclude checks
Missing function doc comment Open
Open
public function setExpiredOn(?DateTime $expiredOn): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'prevent_reinit', type: 'boolean', nullable: false, options: ['default' => 1])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'expired_on', type: 'datetime', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'lp', targetEntity: CLpItem::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'duration', type: 'integer', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setDefaultViewMod(string $defaultViewMod): self
- Exclude checks
Missing function doc comment Open
Open
public function setContentLicense(string $contentLicense): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'title', type: 'string', length: 255, nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function setJsLib(string $jsLib): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'js_lib', type: 'text', nullable: false)]
- 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(name: 'prerequisite', type: 'integer', nullable: false)]
- 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 getTheme(): string
- Exclude checks
Missing function doc comment Open
Open
public function getUseMaxScore(): int
- Exclude checks
Missing function doc comment Open
Open
public function getNextLpId(): int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'default_view_mod', type: 'string', length: 32, nullable: false, options: ['default' => 'embedded'])]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'content_maker', type: 'text', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'hide_toc_frame', type: 'boolean', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function getDescription(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setPublishedOn(?DateTime $publishedOn): self
- Exclude checks
Missing function doc comment Open
Open
public function getAccumulateWorkTime(): int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'content_license', type: 'text', nullable: false)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'max_attempts', type: 'integer', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function getPath(): string
- Exclude checks
Missing function doc comment Open
Open
public function getContentLicense(): string
- Exclude checks
Missing function doc comment Open
Open
public function setDuration(?int $duration): self
- Exclude checks
Missing function doc comment Open
Open
public function setNextLpId(int $nextLpId): self
- Exclude checks
Missing function doc comment Open
Open
public function getSubscribeUserByDate(): bool
- Exclude checks
Missing function doc comment Open
Open
public function getDuration(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setForums(ArrayCollection|Collection $forums): self
- Exclude checks
Missing function doc comment Open
Open
public function setSubscribeUserByDate(bool $subscribeUserByDate): self
- Exclude checks
Missing function doc comment Open
Open
public function setAsset(?Asset $asset): self
- Exclude checks
Missing function doc comment Open
Open
public function getResourceIdentifier(): int|Uuid
- Exclude checks
Missing function doc comment Open
Open
public function getDisplayNotAllowedLp(): bool
- Exclude checks
Missing function doc comment Open
Open
public function getResourceName(): string
- Exclude checks
Missing function doc comment Open
Open
public function getSubscribeUsers(): int
- Exclude checks
Missing function doc comment Open
Open
public function setResourceName(string $name): self
- Exclude checks
Missing function doc comment Open
Open
public function getIid(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function setSubscribeUsers(int $value): self
- Exclude checks
Missing function doc comment Open
Open
public function setDisplayNotAllowedLp(bool $displayNotAllowedLp): self
- Exclude checks
Missing function doc comment Open
Open
public function getAsset(): ?Asset
- Exclude checks
Missing function doc comment Open
Open
public function hasAsset(): bool
- Exclude checks