src/CourseBundle/Entity/CForum.php
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: 'forum_of_group', type: 'string', length: 20, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'end_time', type: 'datetime', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setForumThreads(int $forumThreads): self
- Exclude checks
Missing function doc comment Open
Open
public function setAllowNewThreads(int $allowNewThreads): self
- Exclude checks
Missing function doc comment Open
Open
public function getForumOfGroup(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setForumImage(string $forumImage): self
- Exclude checks
You must use "/**" style comments for a class comment Open
Open
class CForum extends AbstractResource implements ResourceInterface, ResourceShowCourseResourcesInSessionInterface, Stringable
- 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
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'forum_posts', type: 'integer', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function getApprovalDirectPost(): ?string
- Exclude checks
Missing function doc comment Open
Open
public function setDefaultView(string $defaultView): self
- Exclude checks
Missing function doc comment Open
Open
public function setForumGroupPublicPrivate(string $forumGroupPublicPrivate): static
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'locked', type: 'integer', nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function __toString(): string
- Exclude checks
Missing function doc comment Open
Open
public function setAllowAnonymous(int $allowAnonymous): self
- Exclude checks
Missing function doc comment Open
Open
public function getEndTime(): ?DateTime
- Exclude checks
Missing function doc comment Open
Open
public function getForumLastPost(): ?CForumPost
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Entity(repositoryClass: CForumRepository::class)]
- 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\JoinColumn(name: 'forum_last_post', referencedColumnName: 'iid')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'forum_image', type: 'string', length: 255, nullable: false)]
- Exclude checks
Missing function doc comment Open
Open
public function setForumCategory(?CForumCategory $forumCategory = null): self
- Exclude checks
Missing function doc comment Open
Open
public function setAllowAttachments(int $allowAttachments): self
- Exclude checks
Scope keyword "static" must be followed by a single space Open
Open
public function setForumGroupPublicPrivate(string $forumGroupPublicPrivate): static
- Exclude checks
Missing function doc comment Open
Open
public function getLocked(): int
- Exclude checks
Missing function doc comment Open
Open
public function getIid(): ?int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'allow_attachments', type: 'integer', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function __construct()
- Exclude checks
Missing function doc comment Open
Open
public function setForumOfGroup(string $forumOfGroup): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'allow_anonymous', type: 'integer', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'moderated', type: 'boolean', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function getForumPosts(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function getAllowNewThreads(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function isModerated(): bool
- Exclude checks
Missing function doc comment Open
Open
public function setApprovalDirectPost(string $approvalDirectPost): 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 setEndTime(?DateTime $endTime): self
- 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: 'approval_direct_post', type: 'string', length: 20, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'allow_new_threads', type: 'integer', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function getAllowEdit(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function getForumImage(): string
- Exclude checks
Missing function doc comment Open
Open
public function setStartTime(?DateTime $startTime): self
- Exclude checks
Missing function doc comment Open
Open
public function getThreads(): Collection
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'forum_comment', type: 'text', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function getForumComment(): string
- Exclude checks
Missing function doc comment Open
Open
public function getAllowAnonymous(): ?int
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'forum_threads', type: 'integer', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'default_view', type: 'string', length: 20, nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: CLp::class, cascade: ['remove'], inversedBy: 'forums')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'lp_id', referencedColumnName: 'iid', nullable: true, onDelete: 'SET NULL')]
- Exclude checks
Missing function doc comment Open
Open
public function getStartTime(): ?DateTime
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'allow_edit', type: 'integer', nullable: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'forum_group_public_private', type: 'string', length: 20, nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function setModerated(bool $moderated): self
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: CForumPost::class)]
- Exclude checks
Missing function doc comment Open
Open
public function setForumComment(string $forumComment): self
- Exclude checks
Missing function doc comment Open
Open
public function getDefaultView(): ?string
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\ManyToOne(targetEntity: CForumCategory::class, inversedBy: 'forums')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\JoinColumn(name: 'forum_category', referencedColumnName: 'iid', nullable: true, onDelete: 'SET NULL')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\Column(name: 'start_time', type: 'datetime', nullable: true)]
- Exclude checks
Missing function doc comment Open
Open
public function hasThread(CForumThread $thread): bool
- Exclude checks
Missing function doc comment Open
Open
public function setForumPosts(int $forumPosts): self
- Exclude checks
Missing function doc comment Open
Open
public function setTitle(string $title): self
- Exclude checks
Missing function doc comment Open
Open
public function getTitle(): string
- Exclude checks
Missing function doc comment Open
Open
public function getForumThreads(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function getAllowAttachments(): ?int
- Exclude checks
Missing function doc comment Open
Open
public function getForumGroupPublicPrivate(): string
- Exclude checks
Missing function doc comment Open
Open
public function setLocked(int $locked): self
- Exclude checks
Missing function doc comment Open
Open
public function getResourceName(): string
- Exclude checks
Missing function doc comment Open
Open
public function getLp(): ?CLp
- 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\Table(name: 'c_forum_forum')]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'forum', targetEntity: CForumThread::class, cascade: ['persist'], orphanRemoval: true)]
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[ORM\OneToMany(mappedBy: 'forum', targetEntity: CForumPost::class, cascade: ['persist'], orphanRemoval: true)]
- Exclude checks
Missing function doc comment Open
Open
public function getForumCategory(): ?CForumCategory
- Exclude checks
Missing function doc comment Open
Open
public function setAllowEdit(int $allowEdit): self
- Exclude checks
Missing function doc comment Open
Open
public function setLp(?CLp $lp): self
- Exclude checks
Missing function doc comment Open
Open
public function setResourceName(string $name): self
- Exclude checks
Missing function doc comment Open
Open
public function setForumLastPost(CForumPost $forumLastPost): self
- Exclude checks
Missing function doc comment Open
Open
public function getResourceIdentifier(): int
- Exclude checks